您现在的位置是:首页 > 电脑技术查询 > web开发

opener到底如何用的

编辑:chaxungu时间:2022-10-02 23:15:24分类:web开发

opener到底怎么用的?
JScript codevar 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/