W3cubDocs

/jQuery Mobile

pagechangefailed

pagechangefailed eventversion added: 1.0, deprecated: 1.4.0

Description: Triggered when the changePage() request fails to load the page.

  • jQuery( ".selector" ).on( "pagechangefailed", 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 pagechangefailed is the pagecontainer widget's pagecontainerchangefailed event. In jQuery Mobile 1.4.0, the two events are identical except for their name and the fact that pagecontainerchangefailed is triggered on the pagecontainer, whereas pagechangefailed is triggered on the page.

© The jQuery Foundation and other contributors
Licensed under the MIT License.
https://api.jquerymobile.com/pagechangefailed