Is it possible to add custom values to the hashtag in jquery mobile?
I have a page that is loaded normally using ajax navigation. I have a button that makes a.ajax() call to dynamically load a list with results. I would like to store a couple of values within the hashtag so that if the user's browser refreshes then I can pull these values off of the hashtag such as where they are on the page (vertical position).
In my ajax call i set window.location.hash='<The values I want to store>' and the hashtag is correctly set. If I refresh the browser then it loads the prior page that I had been on with my hashtag values.
I know that Jquery Mobile uses the hashtag for its navigation but I was wondering if I could add a couple of custom attribute values onto the hashtag.
Is this possible?
Thanks in Advance,
Marty