oops.js: Prevent Form Data Loss Example

A smart JavaScript library designed to prevent form data loss in certain unexpected situations such as leaving/refreshing the page or closing the browser.