Skip to content
Spoofs placeholders in browsers that don't support them. (eg Firefox 3)
Find file
New pull request
Pull request Compare This branch is 5 commits ahead of danbentley:master.
Latest commit 347bf18 @Jayphen Edited via GitHub

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


Twitter: @dan_bentley



Twitter: @csswizardry



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.

Something went wrong with that request. Please try again.