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"