jquery-dirty

1.1.2 • Public • Published

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!

Dependencies

Readme

Keywords

Package Sidebar

Install

npm i jquery-dirty

Weekly Downloads

1

Version

1.1.2

License

ISC

Last publish

Collaborators

  • eagostini