jQuery.AutoSaveForm
jQuery plugin for auto saving forms while editing. To use simply add the following line to your ready function:
;
Install
You can download the jquery.auto-save-form.js file to include in your page or you can install it using Bower:
$ bower install jquery.auto-save-form
Requirements
jQuery version 1.7 or higher.
Usage
; // To manually trigger a save on the form you can call;
Options
parameter | description | default |
---|---|---|
timeout | Time delay between input and the saving of the data | 1000 |
fieldEvents | The events on which a save will be initiated | change keyup propertychange input |
fieldSelector | Selector for the fields to monitor for changes | :input:not(input[type=submit]):not(input[type=button]) |