Home > jquery.persival.js

jquery.persival.js

Jquery.persival.js is a project mainly written in JavaScript, it's free.

Persival can persist the values users entered in forms, to make them resilient to "inadvertent tab closing" and crashes

Persival

Persival can persist the values users entered in forms, to make them resilient to inadvertent tab closing and crashes.

Usage

Asking persival to watch a form for changes and persist the values is really simple:

$("#form1").persival();
// You can give it an id if you have different forms in your pages.
$("#form1").persival( "firstForm" );

Once the form has been successfully submited, you can clear the persisted values:

$.clearPersival( "firstForm" );

Author

@louis_remi

License

Released under the MIT license.

Previous:projecte1