Skip to content Skip to sidebar Skip to footer

How To Load An Another Html File On A Button Click In Jquery Mobile

I am creating an application in phonegap using the jQuery mobile framework. In my index.html file I have a two text boxes to accept username and password. When I click on the submi

Solution 1:

Have you tried using the jQuery Mobile method to perform navigation?

$.mobile.changePage("newpage.html");

http://jquerymobile.com/demos/1.0/docs/api/methods.html


Solution 2:

I found the answer

to load any page you can simply do

$.mobile.changePage("yourHTML.html","slideup");


Post a Comment for "How To Load An Another Html File On A Button Click In Jquery Mobile"