In Html5 I go to a specific page in the following manner:
window.location.href = "http://localhost:XXXX/MyPageName.html";
The href by clicking on the button does not work!! I have no idea why, it’s the only way I could solve this problem.
When I run the html5 application using the PhoneGap, the links do not work (obviously, since there is no localhost to application)
How can I solve this problem?
You will solve your problems using something like this:
See more info: http://jquerymobile.com/demos/1.2.0/docs/pages/page-anatomy.html