Event Handling in jQuery
Prerequisites
This is part of the Event handling in JavaScript tutorial. A general description of event handling is provided within the aforementioned page.
Page Load event
The page load event is triggered after document is ready to be used. Any code which interacts with DOM nodes should be placed in here.
For more information, visit the jQuery Events documentation.