📄 user_pwd.asp
字号:
<Script Language="Javascript">
function chk(){
if (document.form.pwd.value=="")
{
alert ("新密码不能为空,请重新输入");
document.form.pwd.focus();
document.form.pwd.select();
return false;
}
if (document.form.pwd2.value!=document.form.pwd.value)
{
alert ("确认密码和密码不一致,请重新输入");
document.form.pwd2.focus();
document.form.pwd2.select();
return false;
}
return true;
}
</Script>
<form action="pwd_up_x.asp" method="post" name="form" target="_self" id="form" onsubmit="return chk()">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td width="10%" bgcolor="#F5F5F5"><div align="center" class="STYLE7"><span class="STYLE6">新密码</span>:</div></td>
<td width="90%" bgcolor="#F5F5F5"><input name="pwd" type="password" class="binput" id="pwd" size="16" maxlength="16" />
<input name="提交" type="submit" id="提交" class="atable" value="提交" /></td>
</tr>
<tr>
<td bgcolor="#F5F5F5"><div align="center"><span class="STYLE6">密码确认</span>:</div></td>
<td bgcolor="#F5F5F5"><div align="left">
<input name="pwd2" type="password" class="binput" id="pwd2" size="16" maxlength="16" />
<input name="重填" type="reset" class="atable" id="重填" value="重填" />
</div></td>
</tr>
</table>
</form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -