Back to Top

How to call Multiple Change Page in Single HTML

How to call Multiple Change Page in Single HTML

Today I am going to explain how to call multiple change page in Single HTML file when you are using jquery mobile in mobile application.

When you developing an mobile application using hybrid (Phonegap) and jQuery Mobile, you can use explained code here.

Read about: To setup SQLite for Android-Phonegap application

Let’s check code step by step:

Step 1

USE : < a href='menu.html#home' rel='external' > Text < /a> where home is the page id which you want to load the content.

Step 2

Include core jQuery and jQuery mobile into folder and add it to top of the page.

Step 3

Now write your HTML code and into your < a href=" "> tag add your div id with #. Like here div id products passed into < a href="#contact"> .and rel=”external” is necessary to pass.

That’s it. Check your code into mobile application. and You can see all as multiple pages.

Read: Save Image/File into sdcard in Android using Phonegap

Hope this article helps someone else out.As always, thanks for reading. Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Comments (2)

  1. amazing trik, i’ll try at home, thanks

  2. amazing trik, i’ll try at home, thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

How to check user is logged in Modx

Posted on 6 years ago

Bhumi

How to save image in MySQL Database

Posted on 6 years ago

Bhumi

How dialog error message works in xCart?

Posted on 5 years ago

Bhumi

How to use HTML5 ContentEditable attribute

Posted on 3 years ago

Bhumi