键入密码时如何显示**?

时间:2021-08-19 23:29:12

I create a Jsp page for log in - user name + password. However, when I am typing password it is showing on text box. Can anybody help me, how can I do this, when I type password it will show ** .Thanks in advance.

我为登录创建了一个Jsp页面 - 用户名+密码。但是,当我输入密码时,它会显示在文本框中。任何人都可以帮助我,我怎么能这样做,当我输入密码时它会显示**。提前谢谢。

1 个解决方案

#1


5  

You should use <input type="password"> instead of <input type="text">.

您应该使用而不是

See also:

#1


5  

You should use <input type="password"> instead of <input type="text">.

您应该使用而不是

See also: