Spoofs placeholders in browsers that don't support them. (eg Firefox 3)
JavaScript
Pull request Compare This branch is 5 commits ahead of danbentley:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
js
LICENSE
README.md
index.html Refactored to use bindings, removed password support Sep 26, 2011

README.md

placeholder--a jQuery plugin by Dan Bentley

placeholder is a jQuery plugin/polyfill by Dan Bentley. It provides support for the new placeholder="" HTML5 form attribute in browsers that don't natively support it (IE et al). It features UI and behaviour additions by Harry Roberts.

It is licensed under the Apache 2 license and is Copyright 2011 Dan Bentley

Dan

Twitter: @dan_bentley

GitHub: github.com/danbentley

Harry

Twitter: @csswizardry

URL: csswizardry.com

Fork

In order to reduce filesize, I've removed the password input support. I've also used custom bindings for all placeholder methods so they can be triggered by other events on the page.