Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.43 KB

README.md

File metadata and controls

53 lines (34 loc) · 1.43 KB

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