Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Spoofs placeholders in browsers that don't support them. (eg Firefox 3)
JavaScript
Branch: master
Pull request Compare This branch is 5 commits ahead of danbentley:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
css
js
LICENSE
README.md
index.html

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.

Something went wrong with that request. Please try again.