Basic jQuery: what is the point of a wrapper?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2937227/what-does-function-jquery-mean">What does (function($) {})(jQuery); mean?</a><br>
  <a href="http://stackoverflow.com/questions/3090284/for-the-function-function-ive-seen-it-with-the-word-jquery-in-it-why">For the function (function($){})(), I&#39;ve seen it with the word jQuery in it, why is that?</a>  </p>
</blockquote>



<p>I've seen this used in many places, and I understand that some code ill not work without it... but I have no idea what it does: what is the purpose of this wrapper? </p>

<pre><code>(function($){  

     ...

})(jQuery);
</code></pre>

<p>An explanation and/or direction to some good resources would be greatly appreciated!</p>
