THE INDIA LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

jQuery Mobile Events


jQuery Mobile Events Reference

The following table lists all the jQuery Mobile events.

Note: Bind events by using the on() method.

Event Description
hashchange Enables bookmarkable #hash history
navigate  A wrapper event for both hashchange and popstate
orientationchange Triggered when the user rotates the mobile device vertically or horizontally
pagebeforechange Triggered twice during the page change cycle: First prior to any page loading or transition and next after page loading completes successfully, but before the browser history has been modified by the navigation process.
pagebeforecreate Triggered when the page is about to be initialized, but before enhancement has begun
pagebeforehide Triggered on the "from" page, before transition animation starts
pagebeforeload Deprecated in version 1.4.0. Use pagecontainerbeforeload instead. Triggered before any load request is made
pagebeforeshow Triggered on the "to" page, before transition animation starts
pagechange Triggered after the changePage() request has finished loading the page into the DOM and all page transition animations have completed
pagechangefailed Triggered when the changePage() request fails to load the page. Callbacks for this particular event will be passed a data object as the 2nd arg
pagecontainerbeforeload Triggered before any load request is made
pagecontainerload Triggered after the page is successfully loaded and inserted into the DOM
pagecontainerloadfailed Triggered if the page load request fails
pagecreate Triggered when the page has been created, but before enhancement is complete
pagehide Triggered on the "from" page, after transition animation completes
pageinit Deprecated in version 1.4.0. Use pagecreate instead. Triggered when the page has been initialized and enhancement is complete
pageload Deprecated in version 1.4.0. Use pagecontainerload instead. Triggered after the page is successfully loaded and inserted into the DOM
pageloadfailed Deprecated in version 1.4.0. Use pagecontainerloadfailed instead. Triggered if the page load request fails
pageremove Triggered just before the framework attempts to remove an external page from the DOM
pageshow Triggered on the "to" page, after transition animation completes
scrollstart Triggered when the user starts to scroll the page
scrollstop Triggered when the user stops to scroll the page
swipe Triggered when the user swipes over an element horizontally
swipeleft Triggered when the user swipes over an element in the left direction by more than 30px
swiperight Triggered when the user swipes over an element in the right direction by more than 30px
tap Triggered when the user taps on an element
taphold Triggerd when the user taps on an element and hold for one second
throttledresize Enables bookmarkable #hash history
updatelayout Triggered by jQuery Mobile components that dynamically show/hide content
vclick Virtualized click event handler
vmousecancel Virtualized mousecancel handler
vmousedown Virtualized mousedown event handler
vmousemove Virtualized mousemove event handler
vmouseout Virtualized mouseout event handler
vmouseover Virtualized mouseover event handler
vmouseup Virtualized mouseup event handler