简体   繁体   English

当用户在html的密码字段中输入字符串时,如何在将文本更改为密码之前延迟(大约0.5秒)

[英]How to delay (about 0.5 second) before change text to password when user type a string into password field in html

How to delay (about 0.5 second) before change text to password when user type a string into password field in html. 当用户在html的密码字段中输入字符串时,如何在将文本更改为密码之前延迟(大约0.5秒)。 Please help me. 请帮我。 I am coding web Java with Spring mvc 我正在使用Spring MVC编写Web Java

Are you trying to get some kind of android style password field? 您是否要获取某种android风格的密码字段?

Like: 喜欢:
[*************w] [************* w]

and after half second the last letter disappears resulting in this: 半秒后,最后一个字母消失,结果是:
[**************] [**************]

I don't remember that being possible, if I understood you very well. 如果我非常了解您,我就不会记得有这种可能。
If I didn't than please explain further. 如果没有,请进一步解释。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM