练习使用jquery.并将验证强度的功能加到注册页面中

时间:2023-12-21 21:04:02

练习使用jquery.并将验证强度的功能加到注册页面中

练习使用jquery.并将验证强度的功能加到注册页面中

练习使用jquery.并将验证强度的功能加到注册页面中

练习使用jquery.并将验证强度的功能加到注册页面中

<body onload="InitCss();">

<form name="frm">

密码:<input  id="txtPassword"  onload="InitCss();" type=password size=10 onKeyUp=checklevel(this.value)   onBlur="ValidateInput('password',this.value)"><td> <div id="tipPosition"></div> </td><br/>

强度:<table width="210" cellspacing="1" cellpadding="0" bordercolor="#cccccc" height="9">

<tr align="center" bgcolor="#eeeeee">

<td width="33%" height="5" id="strength_L"></td>

<td width="33%" id="strength_M"></td>

<td width="33%" id="strength_H"></td>

</tr>

</table>

</form>

</body>

运行:

练习使用jquery.并将验证强度的功能加到注册页面中

练习使用jquery.并将验证强度的功能加到注册页面中

练习使用jquery.并将验证强度的功能加到注册页面中