jQuery plugin that fires event immediately when input element is modified.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
demo.html
gulpfile.js
jquery.modify.min.js
package.json

README.md

jquery.modify

jQuery plugin that fires event immediately when input value is modified.

jQuery version

Supported browsers

Almost all browsers that works jQuery.

How to use

Very easy to use!

Traditional method

Just load script files and "modify" event will be ready.

<!-- That's it! Now you can trap "modify" event! -->
<script src="https://code.jquery.com/jquery-1.7.0.min.js"></script>
<script src="path/to/jquery.modify.min.js"></script>

Here is a demo page.

Modern method (CommonJS)

If you are using CommonJS-based framework (webpack, browserify, ...), you can describe very simple.

First, install package via npm.

$ npm install --save jquery.modify

...and just do this!

// That's it! Now you can trap "modify" event!
// (and this returns jQuery object)
var $ = require("jquery.modify");

Project Page

http://github.com/shimataro/jquery.modify