pwd_chold.asp

来自「企业信息化管理系统:针对的是一个计算机配件生产公司为背景实现的。」· ASP 代码 · 共 64 行

ASP
64
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>密码修改</title>
<style type="text/css">
<!--
div {
	
	margin-top: 150px;
}
-->
</style>
<script language="vbscript">
sub OK()
  PWD.Old_Psw.value=""
  PWD.Old_Psw.value=""
  PWD.Old_Psw.focus()
end sub
sub IsOK()
a=Trim(PWD.Old_Psw.value)
if a="" then
  alert("输入不能为空!") 
  OK()
  exit sub
else
  PWD.submit()
end if
end sub
</script>
<link href="css/MainBorder.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE1 {color: #6666FF}
.STYLE2 {color: #FFFFFF}
-->
</style>
</head>

<body onload="OK()">

<div id="PWD_C">
<form name="PWD" action="PWD_Oldcheck.asp" method="post">
<table align="center" width="406" border="0" cellspacing="1" bgcolor="#666699" cellpadding="0">
  <tr>
    <td width="112" height="32" align="right" ><span class="STYLE2">请输入密码:</span></td>
    <td width="339" > <span class="STYLE1">&nbsp;
      <input name="Old_Psw" type="password" id="Old_Psw">
      &nbsp;<input type="hidden" name="rname" value=<%=session("Rname")%>></span></td>
  </tr>
  <tr>
    <td height="30" colspan="2" align="center" bgcolor="#FFFFFF" ><span class="STYLE1">
      <input name="enter" type="button" class="s04" onclick="IsOK()" value="确   定">
&nbsp;&nbsp;&nbsp;
      <input name="ReSet" type="reset" class="s04" id="ReSet" value="重   置">
    </span></td>
    </tr>
</table>
</form>
</div>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?