您的位置:首页 > Web前端 > JavaScript

JS判断密码强度的代码

2009-10-14 08:54 429 查看
<html>
2<head>
3<title>JS判断密码强度的代码 - www.webdm.cn</title>
4</script>
70</head>
71<body>
72<form name=form1 action="" >
73密码:<input type=password size=8 onKeyUp=pwStrength(this.value) onBlur=pwStrength(this.value)>
74<br>密码强度:
75<table width="210" border="1" cellspacing="0" cellpadding="1" bordercolor="#eeeeee" height="22" style='display:inline'>
76<tr align="center" bgcolor="#f5f5f5">
77<td width="33%" id="strength_L">弱</td>
78<td width="33%" id="strength_M">中</td>
79<td width="33%" id="strength_H">强</td>
80</tr>
81</table>
82</form>
83
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: