Input watermark

程序名称:Input watermark

授权协议: 未知

操作系统: 未知

开发语言:

Input watermark 介绍

This plugin allows you to create a text that’s only displayed when there no
text on the textbox and disappears when you focus on it.
This watermark is a little bit different from others I’ve seen, that’s why I’m
posting it here. I created this plugin because I faced the problem of creating
a watermark for a password field. Obviously (or not), all the watermarks that
I tried added the watermark text to the field itself, so the text was dotted!
Just like a password field should be… Well, that’s why this plugin is
different, you can use it even in password fields.
An array with options specifying two properties can be passed to the function.
The two properties are the watermarkText and watermarCssClass.
Then you just call the function like this:
$('.someSelector').watermark({watermarkText: 'Heey', watermarkCssClass: 'someCSS'})

Input watermark 官网

http://plugins.jquery.com/project/jWatermark

相关编程语言

多功能下拉选择插件 SelectPage 简洁而强大的下拉分...
AutoComplete 是一个 jQuery Mobile 的插件,用于实...
Combogrid 是一个jQuery插件用于为输入框添加高级自...
Autobox2这个jQuery插件,可以用于创建类似于Facebo...
Link Scraper TextBox 是一个文本框的扩展插件,当你...
Awesomplete 超小超好用的超漂亮的 autocomplete 框...