JQueryMobile's Helloworld and page switching method _ jquery

Source: Internet
Author: User
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



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.