Input Placeholder

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-14 16:27:18

软件介绍

This plugin extends the jQuery() class with .placehold() method, which is effective for text inputs and treats the default value those inputs have in HTML markup as a placehold value.

When user focuses an input field, its placehold value has to be cleared out, but it returns back, if user leaves the field having put nothing in there. Additionally, my method can add a specified class to active and inactive fields separately, enabling you to style and access placeholded and active inputs.

Please, remember to validate the form on submit, additionally checking fields for containing a placeholder, because placeholder strings are obviously treated as normal input values by UAs. If a user submits such form, it might even appear valid on the server side, filling your DB with bogus data

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

Beginning Apache Struts

Beginning Apache Struts

Arnold Doray / Apress / 2006-02-20 / USD 44.99

Beginning Apache Struts will provide you a working knowledge of Apache Struts 1.2. This book is ideal for you Java programmers who have some JSP familiarity, but little or no prior experience with Ser......一起来看看 《Beginning Apache Struts》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

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

Markdown 在线编辑器