This article mainly introduces the Helloworld and page switching methods of jQueryMobile. The example analyzes the basic usage of jQueryMobile and has some reference value, for more information about how to use jQueryMobile to achieve page flip, see the example below. Share it with you for your reference. The specific analysis is as follows:
JQuery Mobile is a version of jQuery on Mobile phones and tablets. JQuery Mobile not only brings jQuery core libraries to mainstream Mobile platforms, but also releases a complete and unified jQuery Mobile UI framework. Supports mainstream mobile platforms around the world. That is, you can quickly write pages into the APP interface so that users can browse the webpage. this is equivalent to using the layout of the app.
Other files are not required except the demo folder. Even if its js file and css file are not like Bootstrap, it integrates all functions into a js file. if some folders are missing, some icons may not be displayed. The token may be invalid.
At the same time, jquery. mobile, as a plug-in, requires support for jQuery1.11. you can download jQuery1.11 compatible with IE6 on the jQuery official website, instead of jQuery2 compatible with IE6 on the old browser. Put the downloaded jQuery1.11.js together with the jQueryMobile file. For example:
Then you can compile the page on the webpage. the code is as follows. For more information, see annotations.
The code is as follows:
A