jqmData()

Store arbitrary data associated with the specified element. Returns the value that was set.

pagebeforechange

Triggered twice during the page change cyle: 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.