I have a small jQuery mobile app I'm writing, one of the pages has a form. The form is retaining field values and dom manipulations when I navigate away from it. I want to stop this, basically start the form and the dom from fresh on pageShow.
I could just manually clear the fields and remove any classes I've injected into the dom but surely there most be a better way to do this?
thanks in advance