jquery.modify
jQuery plugin that fires event immediately when input value is modified.
jQuery version
Supported browsers
Almost all browsers that works jQuery.
- Internet Explorer: 6 or later
- Mozilla Firefox: Latest version
- Google Chrome: Latest version
- Opera: version 12(Presto based), 15(Blink based)
- Safari for Windows: version 5
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");