Bryan McEleney

Dynamic Pages in Jquery Mobile

Jquery mobile has a nice feature that keeps pages in the browser so that they do not have to be loaded again when you return to them. That's fine for a static site, but for dynamic pages in a web application it's not what we want.

The following piece of code forces loading of all pages. For more information see the documentation

$(document).live("mobileinit", function(){