jquery-dirty
v1.1.2
Published
A very dirty jQuery plugin to tell you if any input in a collection has changed its value.
Downloads
8
Readme
Introduction
Struggling trying to determine if any element in a collection has changed its original value? Then your problems are gone! Once you load this plug-in along with jQuery you can simply do things like this:
$('form').submit(function(event) {
var that = $(this);
if (!that.dirty()) {
event.preventDefault();
}
});
If it's either not enough or you found any bug in this plug-in, please, let me know creating an issue here. I appreciate your help!