如题 function openWin url,text,winInfo var winObj window.open url,text,winInfo var loop setInterval function if winObj.closed clearInterval loop alert closed parent.location.reload window.location.reloa ...
2016-09-13 17:11 0 1667 推荐指数:
function test(){ var winObj = window.open(URL); var loop = setInterval(function(){ if(winObj.closed){ clearInterval(loop ...
Web开发中经常会遇到,使用 window.open打开窗体。 那么问题来了,怎么关闭打开的窗体? 网上给出了很多的解决方便,试了一些后都没有效果, window.top.close() 这个在IE、Chrome中都可以用 打开窗体是,为了方便操作,往往需要 ...
一、js完整代码如下: //js打开新窗口 functionopenWin() {window.open('addInfo.jsp', '_blank','width=300,height=400,top=200,left=400');} //刷新当前页面方法,用于回调函数 ...
使用window.ShowModalDialog可以完成子页面和父页面之间的传值,但是window.ShowModalDialog不是w3c的标准,有些浏览器不兼容,如Opera和一些低版本的浏览器,window.open是w3c标准写法,兼容性比window.ShowModalDialog要好 ...
...
(){ window.open("son.html","ziyemian","width=300,height=400,top= ...
; <title>window.open</title> <script ...