Skip to content
Cross-browser oninput solution
JavaScript
Latest commit dd3e633 Oct 14, 2012 @bbarakaci tests, grunt, first build
Failed to load latest commit information.
dist tests, grunt, first build Oct 14, 2012
libs initial commit Aug 12, 2012
src tests, grunt, first build Oct 14, 2012
test tests, grunt, first build Oct 14, 2012
Gruntfile.js tests, grunt, first build Oct 14, 2012
LICENSE-MIT initial commit Aug 12, 2012
README.md tests, grunt, first build Oct 14, 2012
index.html tests, grunt, first build Oct 14, 2012

README.md

On Input Change

oninput event is not supported by ie lt 9 and is buggy on ie9.

This jQuery plugin will use the native oninput event, will fallback to setInterval method on Internet Explorer.

There is a simple demo/development page to see it in action.

Download

Download the production version or the development version.

Usage

$('input').onInputChange(function(value, element){
    console.log(value);
    console.log(element);
});

Options

time

Set time in milliseconds for the setInterval method. Default is 150.

$('input').onInputChange(anyfunction, {time:200});
Something went wrong with that request. Please try again.