changePage event not working in chrome
Using Chrome browser my code snippet below fails to change from the current page(a.html) to the new page(b.html) which resides in a different page, but it works fine with firefox and dreamweaver live view.
- $('#proceed').on("click",function(){
- $.mobile.changePage('b.html');
- });
I also noticed that it works fine in Chrome ONLY if new page (page to change to) is in current file as a data-role = "page"
What I mean is this:
- $('#proceed').on("click",function(){
- $.mobile.changePage('#newpageID');
- });
Pls advice.
Thanks.