jQuery provides a handy .ready() function for testing whether the DOM is ready to execute some code. But what if you’re working with plain old JavaScript and don’t want to use jQuery? This article discusses 3 pure JavaScript alternatives.
Technical Notes Of Ehi Kioya