📄 user_come.htm
字号:
<%Response.Expires=0%>
<html>
<head>
<title>用户登录</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="web,26 Feb 1960 08:21:57 GMT">
<meta http-equiv="Content-Type" content="text/html;charset=gb2312">
<link rel="stylesheet" type="text/css" href=style.css>
<script language="javascript">
<!--hide
function check_form()
{
if (come.hm.value=="")
{
alert("请输入号码!");
come.hm.focus();
return (false);
}
if (come.hm.value!="")
{
var checkOK="0123456789";
var checkStr=come.hm.value;
var allValid = true;
for (i = 0; i < checkStr.length; i++)
{
ch = checkStr.charAt(i);
for (j = 0; j < checkOK.length; j++)
if (ch == checkOK.charAt(j))
break;
if (j == checkOK.length)
{
allValid = false;
break;
}
}
if (!allValid)
{
alert("号码只能输入0~9的数字!");
come.hm.focus();
return (false);
}
}
if (come.mm.value=="")
{
alert("请输入密码!");
come.mm.focus();
return (false);
}
return (true);
}
//-->
</script>
</head>
<body bgcolor="#8482c6" leftmargin="0" topmargin="0">
<form method="post" name="come" id="come" action="user_come.asp" onsubmit="return check_form()">
<br>
<center>用户登录</center>
号码:<INPUT id=hm name=hm size="8" height="20" style="FONT-FAMILY: 宋体; FONT-SIZE: 9pt; HEIGHT: 20px" maxlength=9><br>
密码:<INPUT id=mm name=mm size="8" type="password" maxlength="10" height="20" style="FONT-FAMILY: 宋体; FONT-SIZE: 9pt; HEIGHT: 20px">
<br>
<div align="right">
<INPUT type="submit" value="登录" id=button2 name=button2 height="20" style="FONT-FAMILY: 宋体; FONT-SIZE: 9pt; HEIGHT: 20px">
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -