Skip to content

Adds fallback support for HTML5 placeholder attribute functionality in older browsers.

Notifications You must be signed in to change notification settings

jasonseney/jQuery-placeHolder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

jQuery-placeHolder

Adds fallback support for HTML5 placeholder attribute functionality in older browsers.

Example use:

<input type="text" name="email" placeholder="Your Email"></input>

<script type="text/javascript">
    $('input').placeHolder();
</script>

In newer browsers, you'll see "Your Email" greyed out in the box. In older browsers, this plugin will insert the placeholder value as the input value and behave the same as the HTML5 supported feature.

About

Adds fallback support for HTML5 placeholder attribute functionality in older browsers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published