How do I pass a variable like username between two jQueryMobile pages?
or two regular pages for that matter, having the variable as global does not work, since at th
You can use either the URL through a query string or client side routing, you can use localStorage (assuming they are on the same domain), or you can use cookies.
If you decide to use client side routing there is a plug in specifically for JQM that ties in with the different JQM page events
https://github.com/azicchetti/jquerymobile-router