Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 502 Bytes

README.rst

File metadata and controls

20 lines (14 loc) · 502 Bytes

Placeholder plugin for jQuery

A jQuery plugin that enables HTML5 placeholder support for legacy browsers

The HTML5 placeholder attribute is awesome, unfortunately only supported by some browsers. This plugin replicates the placeholder behavior for unsupported browsers.

  • Checks for placeholder support before running
  • Tested in IE (6,7,8).
  • Works with password inputs

Usage

It's easy!:

$(':text[placeholder],:password[placeholder]').placeholder();

Enjoy.