Skip to content Skip to sidebar Skip to footer

HTML Form Values And 'Back' Button

How can one retain HTML form info when hitting the back button? Is this a default HTML or Browser behavior? Or is it Browser dependent?

Solution 1:

It is default browser behavior, but ONLY if the page containing the form is cache-able, e.g. has headers set such that the browser is allowed to cache it.

How does SO's form remember previous input values?


Solution 2:


Post a Comment for "HTML Form Values And 'Back' Button"