Skip to content

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

Notifications You must be signed in to change notification settings

louisremi/jquery.persival.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published