練習使用jquery.並將驗證強度的功能加到註冊頁面中

<body onload="InitCss();">this

<form name="frm">spa

密碼:<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/>orm

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

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

 

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

 

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

 

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

</tr>table

</table>form

</form>

 

</body>

運行:

相關文章
相關標籤/搜索