<form name=form1 action="" >
输入密码:<input type=password size=10 onKeyUp=pwStrength(this.value) onBlur=pwStrength(this.value)>
密码强度:
<table width="217" border="1" cellspacing="0" cellpadding="1" bordercolor="#cccccc" height="23" style='display:inline'>
<tr align="center" bgcolor="#eeeeee">
<td width="33%" id="strength_L">弱</td>
<td width="33%" id="strength_M">中</td>
<td width="33%" id="strength_H">强</td>
</tr>
</table>
</form>
本文介绍了一款用于检测密码强度的JavaScript脚本。该脚本能够根据密码中包含的数字、大小写字母及特殊字符的数量来评估密码的安全等级,并通过不同颜色直观展示密码强度。

被折叠的 条评论
为什么被折叠?



