怎样模式打开一窗口,处理完asp的一段代码后再关闭窗口,并刷新父窗口? 在主页面上调用showModalDialog,打印模式窗体,在模式窗体中用parent引用主页面 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 你是不是问?response的Clear和Flush方法? http://community.csdn.net/Expert/topic/3855/3855004.xml?temp=6.527346E-02 parentpage:<script>var returnValue=showModalDialog('test.asp');if (returnValue)location.reload();</script>sonpage:<body onunload="parent.returnValue=true;"> 以前再CSDN看到的代码,忘记是哪个大虾的了 在模式窗口的关闭按纽中写:window.dialogArguments.location.reload(); <script language=javascript>var str=window.showModalDialog('1.asp')if(str=="Y")location.reload()</script>在处理页面response.write "<script language=javascript>window.alert('操作成功!');window.close();window.returnValue='Y'</script>" 用正则查找字符串 为什么鼠标移上去会一闪一闪的? 高手进来看看JS在FF下的问题 怎样 在后退的时候 保持之前的点击状态。 达人请进,动态生成树的问题!! 如何改变td的颜色 怎样将字段3列的值求和? 在线等(急) open是打开窗口,如何让要open的页面在本页打开 求助:javascript可以读写mat文件吗? javaScript高手们,帮我看看这段程序用树或者其他的方法怎么优化! 如何用javascrit标签更改input type="file"类型的输入框中的值?
var returnValue=showModalDialog('test.asp');
if (returnValue)
location.reload();
</script>sonpage:
<body onunload="parent.returnValue=true;">
window.dialogArguments.location.reload();
var str=window.showModalDialog('1.asp')
if(str=="Y")
location.reload()
</script>
在处理页面
response.write "<script language=javascript>window.alert('操作成功!');window.close();window.returnValue='Y'</script>"