jQuery plugin that fires event immediately when input value is modified.
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
Very easy to use!
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.
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");