Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lavoiesl/jquery-trackchanges
TrackChanges enables to easily and unobtrusively add watches on forms and warn a user of unsaved changes on window.unload
https://github.com/lavoiesl/jquery-trackchanges
Last synced: 2 months ago
JSON representation
TrackChanges enables to easily and unobtrusively add watches on forms and warn a user of unsaved changes on window.unload
- Host: GitHub
- URL: https://github.com/lavoiesl/jquery-trackchanges
- Owner: lavoiesl
- Created: 2012-02-11T03:47:25.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-01-14T15:10:03.000Z (almost 12 years ago)
- Last Synced: 2023-03-13T16:11:55.136Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 117 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jQuery TrackChanges
## Author
Sébastien Lavoie ([email protected])## Description
TrackChanges enables to easily and unobtrusively add watches on forms, detect changes and revert to original value## Example
```js
$('.myform :input').trackChanges({
trackingClass: 'track-changes', // Class added on watched fields
changedClass: 'changed', // Class added when field is changed
events: 'change blur' // Events to bind for watching changes
});
```## Prerequisites
* jQuery, should work with any version but tested with 1.7## Live demo
Here is a live demo, please fork it to report bugs.
http://jsfiddle.net/547cM/3/