密码字段的标签 [英] Label for password field

查看:19
本文介绍了密码字段的标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<input type="text" value="useraname" />
<input type="password" value="password" />

我正在使用 jQuery 使内联标签在单击/聚焦时消失.密码像往常一样显示多头,但我想知道是否有可能以某种方式在密码字段内将密码"标签显示为文本(而不是••••)?

I'm using jQuery to make the inline labels disappear on click/focus. Password shows bulls as usual, but I wonder if its possible somehow to show "Password" label as text (instead of ••••) inside the password field?

编辑添加:我当然希望隐藏用户输入的密码!.

Edited to add: I want the user-typed password to be hidden ofcourse!.

谢谢

推荐答案

有插件.参见 labelify 例如

这篇关于密码字段的标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆