Basic jQuery understanding
<p>What is the <code>event</code></p>

<pre><code> $(document).ready(function(){
   $("a").click(function(event){
     alert("Thanks for visiting!");
   });
 });
</code></pre>

<p>and also this one </p>

<pre><code> $(document).ready(function(){
   $("a").click(function(){
     alert("Thanks for visiting!");
   });
 });
</code></pre>

<p>these two JS blocks are doing the same thing, but one with an <code>event</code>, if someone could explain what is <code>function(event)</code>, also I saw something like functino(e),function(g), what are those? is there a tutorial i could learn?</p>

<p>Many thanks</p>
