[英]Using asterisk to hide password fields
I would like to place an asterisk every time a user enters a letter in the password field to hide it from others. 每当用户在密码字段中输入一个字母以隐藏其他字母时,我想放置一个星号。
Here is the code, without the above implemented, I am just inputing asterisk just to fill the entry place: 这是代码,没有上面实现的,我只是输入星号只是为了填充入口位置:
<div id="PassWord">
<div class="PassWord_User">
<p> Username: <input type="text"></p>
</div>
<div class="PassWord_Password">
<p> Password: <input id="password" name="password" type="text" value="****"></p>
</div>
<div class="PassWord_Button">
<input type="submit" name="Submit" id="Submit_passwrd" value="Submit Password"/>
<p id='status'>Status:<Nb_var96></p>
</div>
</div>
If there is an article that I can read to do this or example I can follow? 如果有一篇文章我可以阅读这样做或示例我可以关注? Also, whatever I write, is it going to be a javascript?
此外,无论我写什么,它将是一个JavaScript吗? jQuery?
jQuery的? HTML?
HTML? Something else?
别的什么?
Thank you, Neil 谢谢你,尼尔
使用输入类型作为密码
<input type="password"/>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.