简体   繁体   English

替代window.opener

[英]Alternate for window.opener

I am trying to access javascript variable in the parent window from the child window like this. 我正在尝试像这样从子窗口访问父窗口中的javascript变量。

window.opener.jsvar = 'something';

This is not working sometimes in IE 6.x But it is fine in firefox/IE 7.X 这不是在IE 6.x中有时工作,但它是在Firefox / IE 7.X罚款

Do we have any alternative for window.opener? 我们对window.opener有什么选择吗?

As far as I know we haven't alternative for window.opener. 据我所知,我们没有替代window.opener的方法。 Need to catch this bug and fix. 需要捕获此错误并修复。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM