How to check if document is ready?
<p>How to check if document is ready (all js files loaded, DOM is ready) through jQuery? 
Is there any flag?</p>

<p>Facing issues if some of the files are not downloaded completely, and the event is raised by user. I want to check inside event handler.</p>

<p>I am using jQuery, asp.net</p>
