What does jQuery(function) or $(function) do?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/7642442/what-does-function-do">What does $(function() {} ); do?</a>  </p>
</blockquote>



<p>what exactly does the following syntax mean?</p>

<pre><code>$(function() {..}
</code></pre>

<p>as in </p>

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

    $(".add_folder").click(function () {
</code></pre>

<p>Does it means only defining anonymos function? or also executing it?</p>

<p>TIA</p>
