renderedtext / jquery-placeholders

jQuery plugin for input hints via the placeholder HTML5 attribute

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

jQuery plugin for input hints via the placeholder HTML5 attribute

License:MIT License


Languages

Language:JavaScript 100.0%