Using HTML5 localStorage on a form

Posted: April 17, 2012 Comments

Using HTML5 localStorage on a form | Thomas Hardy – Web Developer.

While localStorage has gone under a bit of scrutiny fairly recently for being ill-performant, this use case seems to fit just right.

The demo outlines how you could make use of localStorage to save entered form data in case of the erroneous back button mouse button click or accidental refresh keystroke that can completely ruin your day. Neat stuff.

Get my newsletter

Receive periodic updates right in the mail!

  • This field is for validation purposes and should be left unchanged.

Leave a Reply

Your email address will not be published. Required fields are marked *