Skip to content

A plugin that enables HTML5 placeholder support for legacy browsers

Notifications You must be signed in to change notification settings

akirk/jQuery-Placeholder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

A plugin that enables HTML5 placeholder support for legacy browsers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published