关于文字提交表单,请高手解决

LXMD 2003-05-01 04:12:28
<form name="form1" method="post" action="Letter_del.asp">
<tr valign="top">
<td height="100" colspan="4">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
</table>
</td>
</tr>
<a href ="#" onclick="submit()">删除信息</a>
</form>
为什么在Ie6.0中能正常提交,在IE5.0中确不可以啊
还有像 <a href ="#" onclick=window.location.href="index.asp">提交</a>
这种也不行呢??
...全文
32 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
ylm2003 2003-05-01
  • 打赏
  • 举报
回复
同意
youbest 2003-05-01
  • 打赏
  • 举报
回复
form name="form1" method="post" action="Letter_del.asp">
<tr valign="top">
<td height="100" colspan="4">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
</table>
</td>
</tr>
<a href ="#" onclick="form1.submit();return false;">删除信息</a>
</form>
jobine 2003-05-01
  • 打赏
  • 举报
回复
加上表单名就可以了。
<a href="javascript:form1.submit()">删除信息</a>

28,391

社区成员

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

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