Why does jquery's document.ready not fire?
<p>In my master page, I have attached jQuery along with my own custom.js. I use the javascript in that file to run fixes on my pages such as style adjustments.</p>

<p>Now, when I run simple functions on my sharepoint pages, they never run on the outputted markup unless I use <code>_spBodyOnLoadFunctionNames.push</code> on the function.  Alerts WILL fire, however.  So, I tried using jquery's <code>document.ready</code> instead, but it NEVER fires.  Neither does <code>ExecuteOrDelayUntilScriptLoaded</code> ever fire. </p>

<p>For example, if I put this in my custom.js file:</p>

<pre><code>$(document).ready(function(){
alert("bob");
}); 
</code></pre>

<p>It never fires.  But if I just put </p>

<pre><code>alert("bob"); 
</code></pre>

<p>It will fire just fine.</p>

<p>However, if I use <code>_spBodyOnLoadFunctionNames.push</code> to run my jquery functions, they DO work, so it isn't that jquery isn't getting loaded.</p>

<p>Am I missing something?  Why won't document.ready work?</p>
