/better-placeholder-polyfill

Placeholder attribute polyfill for better-dom

Primary LanguageJavaScriptMIT LicenseMIT

better-placeholder-polyfill Build Status

[placeholder] polyfill for better-dom

Installing

Use bower to download this extension with all required dependencies.

bower install better-placeholder-polyfill

This will clone the latest version of the better-placeholder-polyfill into the bower_components directory at the root of your project.

Then append the following script on your page:

<html>
<body>
    ...
    <script src="bower_components/better-dom/better-dom.js" data-htc="bower_components/better-dom/better-dom.htc"></script>
    <script src="bower_components/better-placeholder-polyfill/better-placeholder-polyfill.js"></script>
</body>
</html>

Demo

http://chemerisuk.github.io/better-placeholder-polyfill/ (open in IE < 10)