代码如下,不知有何错误?
<html>
<head>
<META http-equiv=Content-Type content=text/html; charset=gb2312>
<meta name=keywords content="">
<title>登录</title>
</head>
<script language='javascript'>
<!--
var time2=10;
function showtime()
{
if (time2<0)
{time2=0;
document.myform.submit();
}
else
{
document.myform.submit.value="剩余时间:"+time2;
time2--;
setTimeout("showtime()",1000);
}
}
-->
</script>
<body topmargin=0 leftmargin=0 onload="showtime();">
<form action=login.asp?action=chk name="myform" method=post ">
<tr>
<td align=left id=tabletitlelink height=25 >
<b>快速登录入口</b>
[<a href=reg.asp>注册用户</a>] [<a href=lostpass.asp >忘记密码</a>]
</td>
</tr>
<tr>
<td height=40 width="100%">
用户名:<input maxLength=16 name=username size=12 value="Guest">
密码:<input maxLength=20 name=password size=12 type=password value="Guest">
<select name=CookieDate>
<option selected value=0>不保存</option>
<option value=1>保存一天</option>
<option value=2>保存一月</option>
<option value=3>保存一年</option>
</select>
<select size="1" name="userhidden">
<option value=2 selected>正常登陆</option>
<option value=1>隐身登陆</option>
</select>
<input type=submit name=submit value="登 陆">
</td>
</tr>
</form>
<tr>
<td colspan=2 height=1> </td>
</tr>
<tr>
<td colspan=2 height=1> </td>
</tr>
<tr>
<td colspan=2 height=1> </td>
</tr>
</table>
</body>
</html>
<head>
<META http-equiv=Content-Type content=text/html; charset=gb2312>
<meta name=keywords content="">
<title>登录</title>
</head>
<script language='javascript'>
<!--
var time2=10;
function showtime()
{
if (time2<0)
{time2=0;
document.myform.submit();
}
else
{
document.myform.submit.value="剩余时间:"+time2;
time2--;
setTimeout("showtime()",1000);
}
}
-->
</script>
<body topmargin=0 leftmargin=0 onload="showtime();">
<form action=login.asp?action=chk name="myform" method=post ">
<tr>
<td align=left id=tabletitlelink height=25 >
<b>快速登录入口</b>
[<a href=reg.asp>注册用户</a>] [<a href=lostpass.asp >忘记密码</a>]
</td>
</tr>
<tr>
<td height=40 width="100%">
用户名:<input maxLength=16 name=username size=12 value="Guest">
密码:<input maxLength=20 name=password size=12 type=password value="Guest">
<select name=CookieDate>
<option selected value=0>不保存</option>
<option value=1>保存一天</option>
<option value=2>保存一月</option>
<option value=3>保存一年</option>
</select>
<select size="1" name="userhidden">
<option value=2 selected>正常登陆</option>
<option value=1>隐身登陆</option>
</select>
<input type=submit name=submit value="登 陆">
</td>
</tr>
</form>
<tr>
<td colspan=2 height=1> </td>
</tr>
<tr>
<td colspan=2 height=1> </td>
</tr>
<tr>
<td colspan=2 height=1> </td>
</tr>
</table>
</body>
</html>