In JQuery, how do I check if the DOM is ready?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1206937/javascript-domready">javascript domready?</a>  </p>
</blockquote>



<p>I want to check whether <code>$(function(){ });</code> is "ready".</p>

<p>Return true if DOM is ready, false otherwise</p>
