- JScript code
var win=window.open('new.html','新窗口','width=400,height=400,toolbar=no'); alert(win.opener==window); //这个代码是写在哪个页面上?
我写在主页面上返回false,
我写在new.html上,什么都不显示,
是我写错了,还是什么?
到底是怎么用的?
求指点。。。。。。。。
------解决方案--------------------
http://www.dreamdu.com/javascript/window.opener/