Skip to content
This repository was archived by the owner on Oct 23, 2021. It is now read-only.

Emulates the HTML5 Placeholder attribute in browsers without native support with a focus on minimalism.

License

Notifications You must be signed in to change notification settings

mbjordan/jQuery-Placeholder-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

jQuery Placeholder Plugin

Emulates the HTML5 Placeholder attribute in browsers that don't have native support.

Making this plugin as small as possible while keeping good functionality is the main focus. At just 258 bytes minified & gzipped, its small enough to inline.

Using this plugin is very easy. Just:

<input type="text" placeholder="This is my text">

And then:

$('input[type=text]').placeHolder();

And your done! Want to see a working example?

This plugin will check for native browser support of the HTML5 Placeholder attribute and will not run if supported.

About

Emulates the HTML5 Placeholder attribute in browsers without native support with a focus on minimalism.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published