From the course: jQuery Mobile Essential Training

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

jQuery Mobile utility methods

jQuery Mobile utility methods - jQuery Mobile Tutorial

From the course: jQuery Mobile Essential Training

Start my 1-month free trial

jQuery Mobile utility methods

jQuery Mobile also has a collection of API methods that you can use to perform many of the functions that the library provides. So, for example, I've got the API documentation up here and you can see the URL if you want to go check it out for yourself. These are many of the functions that are available to you if you want to use them. Now, some of these are deprecated, and some of these are pretty advanced, simply because they control how the library works. But I'm going to show you a simple example of how you can use one of the utility methods to perform a pretty simple function, which is programmatically changing the page. Your application might have some need to programmatically visit pages in it and if you want to do that, there is a way to programmatically go from the current page that your application is on to a different one. So let's jump over to the code. So here in the snippets I've scrolled down to chapter eight in the Utility section. So let's open utility_start. And what…

Contents