December 2011
Intermediate to advanced
265 pages
6h 3m
English
jQuery Mobile exposes a suite of methods that are helpful when you need to programmatically update your Mobile Web application.
The changePage function handles all the details of transitioning from one page to another.
Usage
$.mobile.changePage( toPage, [options] )
Arguments
toPage (sting or jQuery collection). The page to transition to.toPage (string). A file URL ("contact.html") or internal element's ID (“#contact”).toPage (object). A jQuery collection object containing a page element as its first argument: $(“#contactPage”)options (object). A set of key/value pairs that configure the changePage request. All settings are optional.
allowSamePageTransition (boolean, default: false). The changePage method ...Read now
Unlock full access