forked from andrewrjones/jquery-placeholder-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Simple jQuery plugin that adds support for the placeholder attribute in all browsers
License
JustinTheClouds/jquery-placeholder-plugin
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
jQuery Placeholder Plugin ------------------------- This is a small jQuery plugin that emulates the placeholder attribute in web browsers that do not support it. If the browser does support it, the plugin does nothing. To use the plugin, add the JS and CSS files to your page and do the following: jQuery(document).ready(function($) { $(":input[placeholder]").placeholder(); }); Then, in your HTML you can use the placeholder plugin as documented in the HTML5 spec: <input type="search" placeholder="Search..." /> For more information and some demos, see http://andrew-jones.com/jquery-placeholder-plugin
About
Simple jQuery plugin that adds support for the placeholder attribute in all browsers
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published