input-placeholder-polyfill

A simple polyfill for IE8 and 9 that populates the value when empty


Keywords
input, placeholder, polyfill, IE8, IE9
License
MIT
Install
bower install input-placeholder-polyfill

Documentation

input-placeholder-polyfill

A simple polyfill for IE8 and 9 that populates the value of an input field with the placeholder, without the need for an external library.

Install

NPM

npm install --save input-placeholder-polyfill

Bower

bower install input-placeholder-polyfill

Use

It's as easy as adding the item to the page with script tags. We use feature detection so if you have native support we do nothing!