Form Watermark
- 授权协议: 未知
- 开发语言:
- 操作系统: 未知
- 软件首页: http://plugins.jquery.com/project/Watermark
软件介绍
The Watermark plugin enables users to condense page layout by adding descriptive labels on top of the input or textarea fields when their value is empty. This plugin is built on the same concept as the Overlabel plugin, but does not require the labels and style to be placed on the page while adding other configuration options.
Features:
- Easily configured. Just add a watermark attribute to your element
- Requires no additional page markup
- Use a string or object to configure watermark
- Add custom css and classes to the label
- Works on password fields
- Works well with validation plugin
Examples:
input type=”password” watermark=”Enter Password”
input type=”password” watermark=”{html:’EnterPassword’,css:{color:’red’}}”
$([selector]).watermark(”Your watermark”)
$([selector]).watermark({html:”The text”,cls:’css class’,css:’{jQuery css object}’})Pro JavaScript Design Patterns
Dustin Diaz、Ross Harmes / Apress / 2007-12-16 / USD 44.99
As a web developer, you’ll already know that JavaScript™ is a powerful language, allowing you to add an impressive array of dynamic functionality to otherwise static web sites. But there is more power......一起来看看 《Pro JavaScript Design Patterns》 这本书的介绍吧!
