Reputation: 109
I have a local jQuery Mobile project going (inside PhoneGap, thus file:// protocol) where I sometimes need to fetch external pages (using http://) from a server where the content too are jQM pages with almost identical markup (except for the content, which is generated from a CMS).
Setting $.mobile.allowCrossDomainPages to true gives me the page, and that is all right. Going Back, however, fails. I get stuck in a place where /www/index.html is not found on the server (like, doh, of course..). Is there a way to "remember" where I came from, taking me back to the local html page I originally came from?
Upvotes: 2
Views: 1043
Reputation: 56
We just added a docs page on PhoneGap in jQuery Mobile for RC3 that should help you out quite a bit: http://jquerymobile.com/test/docs/pages/phonegap.html
Upvotes: 4