Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/renderedtext/jquery-placeholders
jQuery plugin for input hints via the placeholder HTML5 attribute
https://github.com/renderedtext/jquery-placeholders
javascript jquery semaphore-open-source
Last synced: 27 days ago
JSON representation
jQuery plugin for input hints via the placeholder HTML5 attribute
- Host: GitHub
- URL: https://github.com/renderedtext/jquery-placeholders
- Owner: renderedtext
- License: mit
- Created: 2011-02-17T21:22:25.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2011-02-28T11:50:39.000Z (almost 14 years ago)
- Last Synced: 2023-03-11T00:53:43.426Z (almost 2 years ago)
- Topics: javascript, jquery, semaphore-open-source
- Language: JavaScript
- Homepage:
- Size: 88.9 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
- License: LICENSE
Awesome Lists containing this project
README
h1. jquery-placeholders
jQuery plugin for input hints which uses your placeholder HTML5 attributes, so you can write markup for modern browsers first and degrade gracefully.
h2. Example
$("#someForm").placeholders(["#name", "#email"]);
This would load placeholder text from the placeholder attribute, and prevent the placeholder text from being submitted.
See @demo.html@ for a full example.