simple javascript question?
<p>im hoping someone can explain the following usage of javascript...</p>

<p>i have a page and it has a script tag in it and the contents look like the following </p>

<pre><code>(function($){
     // code 
     // and stuff
})(jQuery);
</code></pre>

<p>im just trying to understand what this does mainly, </p>

<ol>
<li>the opening parenthesis at the start</li>
<li>the usage of the $ symbol</li>
<li>the jQuery in parentheses at the end</li>
</ol>

<p>thanks!</p>
