<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>
运行: