pagebeforeload eventversion added: 1.0, deprecated: 1.4.0
Description: Triggered before any load request is made.
jQuery( ".selector" ).on( "pagebeforeload", 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 pagebeforeload
is the pagecontainer
widget's pagecontainerbeforeload
event. In jQuery Mobile 1.4.0, the two events are identical except for their name and the fact that pagecontainerbeforeload
is triggered on the pagecontainer, whereas pagebeforeload
is triggered on the page.