Jquery syntax when calling methods
<p>This code:</p>

<pre><code>&lt;script type="text/javascript"&gt;

someMethod1();



$(function () {
    someMethod2();
});

&lt;/script&gt;
</code></pre>

<p>What is the difference between these two callings? When do we do the first call, and when do we do the second call? What is the order of the method execution?</p>
