garlic.js

Automatically persist your forms' text and select field values locally, until the form is submitted.

htmlformforms

http://garlicjs.org/