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, input
s that are type="password"
should not have any copy functionality.
See: http://jsfiddle.net/6BUGx/
Just put,
<input type="password" value="" />
精彩评论