Navigation Menu

Skip to content

shimataro/jquery.modify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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