Call a function on DOM ready from outside <head>?
<p>In jQuery you can wrap all your code in <code>$(function() { ... });</code> and have it fire when the DOM is ready, but what if you want to put that in the middle of the page somewhere? Isn't it possible that the DOM ready event will fire before it processes that chunk of code and it'll get missed? Is there a way to guarantee it'll get fired?</p>
