![]() |
#2
yi904212008-05-20 14:01
有高手说是有些页面请示网络资源,但做的时候没弄过,是不是代码错了:
<title>教 师 工 作 量 管 理 系 统</title> <style type="text/css"> <!-- .STYLE1 { font-size: 24px; font-weight: bold; color: #FF0000; } .STYLE2 {font-size: 14px} --> </style> </head> <SCRIPT language=JavaScript> function login() { target="login/login.asp"; window.location.href=(target); } </SCRIPT> <body> <table width="100%" border="0"> <tr> <td height="118" valign="bottom"><div align="center" class="STYLE1">教 师 工 作 量 管 理 系 统</div></td> </tr> </table> <form id="user_name" name="user_name" method="post" action="Login/LoginCheck.asp"> <table width="100%" border="0"> <tr bgcolor="#CCCC99"> <td height="29" colspan="3"><div align="center" class="STYLE2"> 用 户 登 陆</div></td> </tr> <tr> <td width="49%" height="36"><div align="right">用户名:</div></td> <td colspan="2"> <input name="user_name" type="text" id="user_name" size="15" /> </td> </tr> <tr> <td height="32"><div align="right">密 码:</div></td> <td colspan="2"> <label> <input name="user_password" type="password" id="user_password" tabindex="2" size="15" /> </label> </td> </tr> <tr> <td height="32"><div align="right">登陆角色:</div></td> <td colspan="2"> <label> <select name="user_role" id="user_role"> <option>教 师</option> <option>管 理</option> </select> </label> </td> </tr> <tr align="right" bgcolor="#FFCC99"> <td height="29" bgcolor="#CCCC99"> <label> <input type="button" name="Submit" value="注册" tabindex="3" onClick='javascript:login();'/> </label> </td> <td width="5%" align="left" bgcolor="#CCCC99"> <label> <input type="submit" name="Submit2" value="登陆" tabindex="4" /> </label> <label></label> </td> <td width="46%" align="left" bgcolor="#CCCC99"><input type="reset" name="Submit3" value="重置" tabindex="5" /> </td> </tr> </table> </form> </body> </html> |
ASP测试在插上网线运行正常,但在不插网线的情况下,运行出错这个是什么问题?应该怎么解决呢?