(This is a jQuery Mobile question.)
Since you use data-ajax="false",
it isn't possible to persist the active state within the browser,
at least not without some gymnastics. The document is reloaded when
you change pages, and thus all browser content and state is lost.
As well, your site or app will suffer performance-wise, since
this means that you are re-loading (from cache, at least!) a very
large CSS and Javascript framework on every page.
Finally, page transitions are not possible in this case.
If you want to persist any state (active tab, variable content,
really anything else) then you have a few choices:
- Use a cookie
- Use localstorage
- Send the state to your server in the URL query string, and
then the server will generate the page accordingly
When I see the use of data-ajax="false"
I always ask the poster to consider whether it really makes sense for
their project to use jQuery Mobile at all, since this negates many of
the advantages of using jQuery Mobile in the first place.
If you just like the widgets, you can find equivalents (and
typically a more modern look!) in many CSS-only frameworks
(Bootstrap, etc.) and avoid a lot of bother and complication.