Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).on('click', "#secondPage",function () {
- $.mobile.changePage('second.html', {
- dataUrl : "second.html",
- reloadPage : false,
- changeHash : true
- });
- });
- Above the commands I use to call the second page. And after the second page is called, I want to create a button to return to the main page (index.html)
- Once the button id="secondPage" then clicked the url will change like this one :
- http://localhost/jqm/#second.html
- Do I need to refresh the page to call back index.html?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement