Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Spoofs placeholders in browsers that don't support them. (eg Firefox 3)

branch: master

jQuery 1.3 support and fix for onblur not clearing field

The function event map isn't available in jq 1.3, so change it to a chain. The field should be considered unchanged if the value is empty, so the placeholder will appear, and vice versa.
latest commit 73f4d1e55c
Seph Soliman scarlac authored danbentley committed
Octocat-spinner-32 css Removed all color:; refs because they caused problems in all browsers… June 23, 2011
Octocat-spinner-32 js jQuery 1.3 support and fix for onblur not clearing field July 06, 2011
Octocat-spinner-32 LICENSE Housekeeping May 24, 2011
Octocat-spinner-32 README.md Slightly better readme description May 31, 2011
Octocat-spinner-32 index.html Cleaned up more code. Included password field in index.html June 15, 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

Something went wrong with that request. Please try again.