pagebeforeload event

Triggered before any load request is made.
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.

jQuery( ".selector" ).on( "pagebeforeload", function( event ) { ... } )
doc_jQuery
2016-03-28 15:04:54
Comments
Leave a Comment

Please login to continue.