我是a.asp 提交一表单给b.asp处理后要返回刷新 a.asp
解决方案 »
- 最快乐,最幸福,最聪明的朋友们帮我看看,js字符串拆分问题。
- 为什么我用getElementById得到的对象属性为空呢?
- jsp 内嵌WORD问题!
- /(<p[^>]*>)|(<[^>]p>)/gi正则表达式是什么意思
- dialogArguments option 传值问题
- js的setInterval 和 Flash加载个数
- |zyciis| Javascript的方法如何写成 MessageBox.Show("哈哈")
- 100分 100分 100分求页面间数据传送解决方案 程序实现的效果类型于客户的联系地址的添加.
- 救助一个播放MP3的问题.
- 菜单如何能显示大iframe上面?
- 如何通过js赋值给hidden
- 一个关于 JS产品分类 大类下显示小类 的问题
<%
newcompanyid = request("companyid") //companyid 是从另一页面得来的 if newcompanyid = "" then
Response.Write "<script language=javascript>"
Response.Write "alert(""请先选择公司再做此步操作!"");"
Response.write "history.go(-1);"
Response.Write "</script>"
Response.End
elseif not isnumeric(newcompanyid) then
Response.Write "<script language=javascript>"
Response.Write "alert(""companyid必须为整数!"");history.go(-1);"
Response.Write "</script>"
Response.End
else
newcompanyid = cint(newcompanyid)
end if
%>
<form method="post" name="input1" action="result.asp">
<input name="chk_all" value="checkbox" >
<input type="submit" name="shenhe" value="审核">
</form>
result.asp if bh ="" then
response.Write "<script language=javascript>alert('你未选择任何选项,不能审核');history.go(-1)</script>"
else
response.Write "<script language=javascript>"
Response.Write "alert('记录已成功更新!');"
'response.write "<a href='direct_ward.asp?&companyid="&newcompanyid&"'>"
response.Write "1.asp" //返回时 都会提示请先选择公司再做此步操作
response.Write "</script>"
end if
<frame src="top.asp" name="topFrame" scrolling="NO" noresize >
<frameset rows="*" cols="195,*" border="0" framespacing="0" frameborder="NO">
<frame src="zuo.asp" name="leftFrame" scrolling="auto" noresize>
<frame src="you.asp" name="mainFrame">
</frameset>
</frameset>result.asp
<script>
//从you.asp-->result.asp,然后result.asp刷新top.asp??
//如果是在result.asp中输出
parent.topFrame.location.reload();
</script>
然后在you.asp 中提交一表单给result.asp 处理 可以正常处理 但是无法返回
showbo 我用你的方法 处理后 you .asp 空白 没有返回 也没有提示出错result.asp if bh ="" then
response.Write " <script language=javascript> alert('你未选择任何选项,不能审核');history.go(-1) </script> "
else
response.Write " <script language=javascript> "
Response.Write "alert('记录已成功更新!');"
response.Write "parent.menuFrame.location.reload();"
response.Write " </script> "
end if
其实zuo.asp 是一个目录树 要刷新的只是其中的一项