Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 421 Bytes

README.textile

File metadata and controls

11 lines (6 loc) · 421 Bytes

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.

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.