I'm writing a phonegap app and am using jquery mobile for the front end. I have a form which has 4 fields and a link, the link goes to another page that displays a listview of possible values for one of the fields, which on tap/click returns to the original form and populates one of the fields with the passed value.
The problem is that any fields the user completed prior to using the find link are now empty (because the page has been loaded again).
I know I could pass the field values between the 2 pages or use a few global variables but I wondered if there was any JQM specific way of doing this (or any cleaner way anyone could recommend).
Thanks in advance