jQuery Mobile has several configuration options that you can set that will alter its behavior across all pages.
The CSS class applied to active buttons. Default: “ui-btn-active”.
The CSS class applied to the page that is currently visible. Default: “ui-page-active”.
Enable or disable asynchronous features: ajax form handling, ajax link handling, and URL hash management. Setting this to false will disable all three features. Defaults to true.
Enable or disable asynchronous form handling. Defaults to true.
Enable or disable asynchronous link handling. Defaults to true.
The default transition animation to show when transitioning between pages. Defaults to “slide”.
Enable or disable hash management. Defaults to true.
jQuery Mobile extends the base
object with a new property:
gradeA is an alias to that property. This gives you fine
control over required features that must be in place for your application to
function. To use this property, define a function that detects the feature in
question and returns either true or false (see Example 5-13).
The string to display in the loading indicator dialog. Defaults to “Loading”.
If a page has a
data-role set to one of these selectors, it will ...