我的表单提交失败,求助

herolg 2008-04-13 10:59:56
这个表单本身是动态生成的,提交无法通过,我把生成的html代码拷贝到新文件里,用了三种提交方式,还是不行,我重启了iis服务,钢重启完后,可以顺利提交,但是第二次又不行了,页面不报错,只是浏览器进度条缓慢。希望有高手帮忙看看原因。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script language="javascript">
function openme(object)
{ object.style.background="#5A8ED6";}
function closeme(object)
{ object.style.background="#ffffff";}
</script>
<script>
function aaa()
{
document.forms(0).submit();
//document.form1.submit();
}
</script>
</head>

<body>
<form id="form1" name="form1" method="post" action="quickask_muchdel.asp">

<table width="773" height="65" border="1" align="left" cellpadding="1" cellspacing="0" bordercolor="#DEEBF7">
<tr>
<td width="98" height="25" bgcolor="#5A8ED6" class="titleclass">编号</td>
<td width="163" bgcolor="#5A8ED6" class="titleclass"><p class="titleclass">科室</p></td>
<td width="153" bgcolor="#5A8ED6" class="titleclass">咨询时间</td>
<td colspan="4" bgcolor="#5A8ED6" class="titleclass"><p>操作</p></td>
</tr>

<tr onmouseover="openme(this)" onmouseout="closeme(this)">
<td height="28" class="contentclass">13</td>
<td class="contentclass">前列腺</td>
<td class="contentclass">2008-4-13 9:44:37</td>
<td width="83" class="operclass"><a href="quickask_del2.asp?pid=13" class="operclass">删除</a></td>
<td width="66" class="operclass">已审核</td>
<td width="91" class="operclass">查看</td>
<td width="89" class="operclass"><input type="checkbox" name="checkbox" value="13" /> </td>
</tr>

<tr onmouseover="openme(this)" onmouseout="closeme(this)">
<td height="28" class="contentclass">14</td>
<td class="contentclass">前列腺</td>
<td class="contentclass">2008-4-13 9:44:37</td>
<td width="83" class="operclass"><a href="quickask_del2.asp?pid=14" class="operclass">删除</a></td>
<td width="66" class="operclass">已审核</td>
<td width="91" class="operclass">查看</td>
<td width="89" class="operclass"><input type="checkbox" name="checkbox" value="14" /> </td>
</tr>

<tr onmouseover="openme(this)" onmouseout="closeme(this)">
<td height="28" class="contentclass">15</td>
<td class="contentclass">前列腺</td>
<td class="contentclass">2008-4-13 9:44:37</td>
<td width="83" class="operclass"><a href="quickask_del2.asp?pid=15" class="operclass">删除</a></td>
<td width="66" class="operclass">已审核</td>
<td width="91" class="operclass">查看</td>
<td width="89" class="operclass"><input type="checkbox" name="checkbox" value="15" /> </td>
</tr>

<tr onmouseover="openme(this)" onmouseout="closeme(this)">
<td height="28" class="contentclass">16</td>
<td class="contentclass">前列腺</td>
<td class="contentclass">2008-4-13 9:44:37</td>
<td width="83" class="operclass"><a href="quickask_del2.asp?pid=16" class="operclass">删除</a></td>
<td width="66" class="operclass">已审核</td>
<td width="91" class="operclass">查看</td>
<td width="89" class="operclass"><input type="checkbox" name="checkbox" value="16" /> </td>
</tr>

<tr>
<td height="25" colspan="5" bgcolor="#5A8ED6" class="titleclass"><a href="#" onclick="aaa()">提交</a></td>
<td height="25" colspan="2" bgcolor="#5A8ED6" class="titleclass"><a href="javascript:form1.submit();">批量删除
<input type="submit" name="Submit" value="提交" />
</a></td>
</tr>
</table>
</form>
</body>
</html>
...全文
135 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
chinank 2008-04-13
  • 打赏
  • 举报
回复
应该是数据库语句有问题,quickask_muchdel.asp代码也很有可能,
herolg 2008-04-13
  • 打赏
  • 举报
回复
quickask_muchdel.asp我还没有加入正式代码,只是加了个测试代码,获取表单并且输出,想先看看能否得到值
zl_c 2008-04-13
  • 打赏
  • 举报
回复
应该贴出处理页面quickask_muchdel.asp的代码.
snlixing 2008-04-13
  • 打赏
  • 举报
回复
document.forms[0].submit();
Anlige 2008-04-13
  • 打赏
  • 举报
回复
应该就是quickask_muchdel.asp代码的问题~进入死循环或是sql语句出现错误什么的~最好贴贴看~

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧