O'Reilly logo

jQuery Mobile Web Development Essentials by Andy Matthews, Raymond Camden

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using jQuery Mobile utilities

Now that we've covered jQuery Mobile configuration, let's take a look at the utilities available to your applications. These are utilities provided by the framework and can be used in any application. You may not need them all (or any) on your site, but knowing they are there can help save you time in the future.

Page methods and utilities

Let's begin looking at methods and utilities related to pages and navigation between pages:

  • $.mobile.activePage: This property is a reference to the current page.
  • $.mobile.changePage(page,options): This method is used to change to another page. The first argument, page, can be either a string (the URL), or a jQuery DOM object. The options argument is an optional object of key/value ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required