1.0.0 • Published 9 years ago

input-placeholder-polyfill v1.0.0

Weekly downloads
7,241
License
MIT
Repository
github
Last release
9 years ago

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!