pageload


pageload eventversion added: 1.0, deprecated: 1.4.0

Description: Triggered after the page is successfully loaded and inserted into the DOM.

  • jQuery( ".selector" ).on( "pageload", function( event ) { ... } )

Note: The triggering of this event is deprecated as of jQuery Mobile 1.4.0. It will no longer be triggered in 1.6.0.

The replacement for pageload is the pagecontainer widget's pagecontainerload event. In jQuery Mobile 1.4.0, the two events are identical except for their name and the fact that pagecontainerload is triggered on the pagecontainer, whereas pageload is triggered on the page.