I have a question about passing data between the pages from one JQM / Phonegap App.
If I have an JS object with some data like: search term, location and some other filter values and for example the user is jumping from the search page to the settings page and goes back for example again to the search page … how can I save the information, what I had in the previews page? Is there something like cookies or should I ever use the sqlite to save the information and read it every time the user is coming to the search page?
I would use LocalStorage, is quite simple to use. It allows you to store plain text:
If plain text is not enough and you need to store data structures, you could implement something like: