1.1.1 • Published 7 years ago

ie9-oninput-polyfill v1.1.1

Weekly downloads
353
License
MIT
Repository
github
Last release
7 years ago

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');