jQuery document.ready vs pageLoad
<p>I've picked up an existing project from another developer and ive noticed in the code that they are executing js code within three different event handlers...</p>

<pre><code>function pageLoad() {
//execute code
}

$(document).ready(function() {
//execute code
});

$(function() {
//execute code
});
</code></pre>

<p>My question is - arent they all exactly the same? Or at least the last two? I understand that pageLoad is called by the .NET framework so it's not dependent on the jQuery library having loaded like the second two are - that's my understanding anyway - is that about correct?</p>
