With jQuery Mobile, I can manually prefetch an external page like so:
$.mobile.loadPage(
"content.html",
{ showLoadMsg: true }
);
But ow do I manually remove that page from the memory; in a sense, "unload" it?
Thanks
on your jqm-page if there's a id specified, you can do this.
$('#page2').remove();
example
another way is to use $.fn.jqmData(), $.fn.jqmRemoveData()
refer here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With