Skip to content

A jQuery plugin to simulate the "placeholder" attribute in older browsers

Notifications You must be signed in to change notification settings

pedrochaves/jQPlaceholder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQPlaceholder

A jQuery plugin to simulate the placeholder effect on browsers that do not support it (aka IE).

Usage

Place your "placeholder" attribute normally on your input tags, and then execute the code

$('input[placeholder]').jQPlaceholder();

You can also use it simply by typing the code below, which is the same as using the selector input[placeholder] input[value] in the example above

$.jQPlaceholder();

If you use the second one, the plugin will search for the inputs with the placeholder and value attribute and initialize them by himself.

About

A jQuery plugin to simulate the "placeholder" attribute in older browsers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published