Storing results locally with JS?
<p>I have a page where user makes a selection and I update db with an AJAX call, however, I would like to show selection if the user decides to back-track. If I did this just using PHP I'd probably add the items id and corresponded selected values into an array. But in this project I am not refreshing the page, so my questions... is there a way to store that data somehow locally, perhaps using JS. Or I can build a string on my AJAX page and return it via JSON. </p>

<p>Just looking for ideas on how to go about it.</p>

<p>BTW I am not using HTML5 in this project...</p>
