how do i fire an event when document readyState is complete
<p>I want to fire and event when the DOM has completely loaded. I checked out <code>document.readyState</code> but it's not an event. I want to fire it when the <code>readyState</code> is complete. How do I do that?</p>
