Publisher review:autoSave prevent the loss of data due to session timeouts, power outages and other issues. autoSave prevent the loss of data due to session timeouts, power outages and other issues.
You can feed it one or all of your form fields and it will do an ajax post to your server whenever any of those values change, with a delay built in for text-type fields to minimize the number of ajax calls your application makes.
Parameters:
- delay(ms) - for text fields, how long to wait before posting. default 1000ms
- beforeClass - class to apply to the element when the value has changed
- afterClass - class to apply to the element after the ajax call has returned
- onChange - function to run when the value changes. By default applies beforeClass
- preSave - function to run just before the ajax function is run. Returning a boolean”false” from this
- function will prevent the ajax call from running and reverts the field to its previous value. All other return values allow the ajax callto run normally.
autoSave is a JavaScript script for Development Tools scripts design by ideamill.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris