Skip to content

Forces IE9 to trigger the INPUT event when the user deletes/cuts text from the input - making the event works as it should (and as it does in all the modern browsers)

License

Notifications You must be signed in to change notification settings

daihuabin/ie9-oninput-polyfill

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IE9 oninput (input event) polyfill

Forces IE9 to trigger the INPUT event when the user deletes/cuts text from the input - making the event works as it should (and as it does in all the modern browsers)

Usage

Insert the script anywhere in your webpage, and the input event will start working properly on IE9.

<script src="ie9-oninput-polyfill.js"></script>

You can even use the conditional tags:

<!--[if IE 9]><script src="ie9-oninput-polyfill.js"></script><![endif]-->

NPM

You can install it from NPM also:

npm install --save ie9-oninput-polyfill

Then, if using some bundler like webpack/browserify, you only need to import it:

require('ie9-oninput-polyfill');

About

Forces IE9 to trigger the INPUT event when the user deletes/cuts text from the input - making the event works as it should (and as it does in all the modern browsers)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%