等了4小时了...怎么还没人来帮我解决...谁提供一个新的给我也可以....
<!--#include file="conn.asp"-->
<html>
<head>
<script language="JavaScript" >
<!--
function login(){
if(document.login1.u.value=="" || document.login1.p.value==""){
alert("用户名或密码不能为空");
return false;
}
document.login1.submit();
}
//-->
</script>
<title>登陆页面</title>
</head>
<body>
<table width="600" height="400" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="300" height="60" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td><form name="login1" method="post" action="check.asp">
<label>用户名:
<input name="u" type="text" size="20" height="15" />
</label>
<br>
<label>密 码:
<input name="p" type="password" size="20" height="15" />
</label>
<label> <br>
<input name="Submit" type="button" value="登陆" onClick="login();" />
</label>
<label>
<input type="reset" name="Submit2" value="清除" />
</label>
<label>
<input type="button" name="Submit3" onClick="javascript:window.opener=null;window.close()" value="退出" />
</label>
</form></td>
</tr>
</table>
</body>
</html>
还有就是check.asp是与登陆叶面在同一目录下的网页?