请问各位,这段js代码有何错误,提交按扭不能提交到下一页面?谢谢!!!

5iasp
博客专家认证
2004-06-18 04:56:44


<html>
<head>
<script language="javascript">
function submitit(theform)
{
if (confirm('你确实吗?'))
{
theform.submit();
}
}
</script>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../putong_1t">
<title>会议室申请审批</title>
</head>

<body>

<%
id=request("id")
page=request("page")

%>

<form method="POST" action="shengpiresult.asp" name="myform">
<input type="hidden" name="id" value="<%=id%>">
<input type="hidden" name="page" value="<%=page%>">
<div align="center">
<center>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="750" id="AutoNumber1">
<tr>
<td width="100%" colspan="2">
<p align="center"><b>会议室申请审批</b></td>
</tr>
<tr>
<td width="21%">
<p align="center">审批结果</td>
<td width="79%">
<input type="radio" value="1" name="shengpiresult" checked>审核通过<input type="radio" value="2" name="shengpiresult">未通过</td>
</tr>
<tr>
<td width="21%">
<p align="center">审核说明</td>
<td width="79%"><textarea rows="9" name="shengpibeizhu" cols="57"></textarea></td>
</tr>
<tr>
<td width="100%" colspan="2">
<p align="center">
<input type="button" value="提交" name="submit" class="button" language='JavaScript' onclick="submitit(myform)"></td>




</tr>
</table>
</center>
</div>
</form>

</body>

</html>

...全文
70 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

87,907

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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