-
Notifications
You must be signed in to change notification settings - Fork 0
A jQuery plugin for working with placeholder attributes on input fields.
License
thisarmy/placeholder
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
PLACEHOLDER
===========
A jQuery plugin that adds placeholder() and serializeWithoutPlaceholders()
methods. This manages the placeholder value text and adds/removes a class from
an input element so that you can style and use placeholder text across
different browsers.
USAGE
=====
<input type="text" name="someinput" placeholder="placeholder text" value="">
<style>
input[type=text] {font-size: 14px; color: #333;}
input.placeholder {font-size: 12px; color: #ccc;}
</style>
<script>
$('input[name=someinput]').placeholder();
</script>
About
A jQuery plugin for working with placeholder attributes on input fields.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published