Response title
This is preview!
It can't possibly keep different divs in "the same PHP page".I learned that JM keeps all pages in different divs in the same PHP page
We use the HTML id attribute in our jQuery Mobile apps by ensuring that each id value is unique within our site.
But not a zero probability. That would be the hardest bug you ever debugged...Such an identifier has a very low probability of being duplicated
Yes, this is the one case where the use of IDs in JQM is completely safe. Every ID on every page load (even if the same page) has to be unique. This would be very difficult in most environments.Because the app instantiates a new ViewModel with each request, even when the page is reloaded a new GUID is created.
Just substitute "static site" for "PhoneGap", and you will understand the environment. A PhoneGap app is basically a static site loaded from a local filesystem, wrapped in a native app with a WebView.We don’t have any plans to use PhoneGap, but thank you for pointing that out. I’ll have to take a look at what would be required.
© 2013 jQuery Foundation
Sponsored by and others.