The browser doesn't explicitly store the text, rather it just does not empty the input field values when a element containing the input field is hidden. So the way to access it is just
Originally Posted by fonurr
Yes, you would have to manually read values of input fields, states of any toggle buttons etc.., that is IF you completely remove the last page from the DOM. If you just hide it by setting el.style.display = "none"; DOM state is preserved and so are the possible changes made by the user. That will save a lot of work.
so i have to write inverse functions to undo what user has done?