1.asp
程序代码
<body >
<table width="200" border="0" cellspacing="0" cellpadding="0">
<form name="login" method="post" action="2.asp">
<tr>
<td width="60">用户名:</td>
<td><input name="username" type="text" id="username" value="55" size="20"></td>
</tr>
<tr>
<td>密码:</td>
<td><input name="userpassWord" type="password" id="userpassword" value="66" size="20"></td>
</tr>
<tr>
<td><input type="submit" name="login" value="登陆"></td>
<td> </td>
</tr>
</form>
</table>
<script language="javaScript" type="text/Javascript">
login.submit()
</script>
</body>
2.asp
程序代码
<%
username=request.form("username")
response.write username&"<hr size=1>"
'其他略去
%>
新闻热点
疑难解答