jquery load Event

Jquery load Event

.load( handler(eventObject) )
handler(eventObject)A function to execute when the event is triggered.

.load( [eventData], handler(eventObject) )
eventDataA map of data that will be passed to the event handler.
handler(eventObject)A function to execute each time the event is triggered.

Alternate Text

jQuery(document).ready(function () {
$(window).load(function(){
   alert(1);
});
});

Demo / Download
jquery load Event jquery load Event Reviewed by Bhaumik Patel on 11:02 PM Rating: 5