Input watermark

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-12 18:58:48

软件介绍

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'})

本文地址:https://codercto.com/soft/d/23240.html

测试驱动开发的艺术

测试驱动开发的艺术

Lasse Koskela / 李贝 / 人民邮电出版社 / 20101023 / 59.00元

在传统的软件开发中,开发人员对于代码是否正确心中无底,一切依赖于后期的测试环节。极限编程反其道而行之,主张采用测试驱动开发(TDD)的方法,即通过测试定义所要开发的功能的接口,然后实现功能的开发过程。TDD通过不断地测试推动代码的开发,既简化了代码,又保证了软件质量。 本书采用“手把手”的教学方式,通过大量实例来解释TDD,还专门用几章的篇幅来讲解如何为难于测试的技术编写单元测试。全书内容循......一起来看看 《测试驱动开发的艺术》 这本书的介绍吧!

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

html转js在线工具
html转js在线工具

html转js在线工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具