开发者

Dont allow password field to copy

I have this field:

<form:label path="password">&开发者_开发百科lt;spring:message code="label.password"/></form:label>
 <form:password path="password" id="password"/>

Now what can I do to make sure this password field value cannot be copied?


In (almost) all conformant browsers, inputs that are type="password" should not have any copy functionality.

See: http://jsfiddle.net/6BUGx/


Just put,

<input type="password" value="" />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜