views:

771

answers:

1

"window.opener" works fine in both IE and Firefox as long as 'Open in New Tab' is used from the right-click menu; Error console says "window.opener" is null. Is there any other way the opener can be accessed?

Edit: Error console says "window.opener" is null only when "Open in New Tab" is clicked. For all other cases, there is no such error. Hence, what i would like to know is if an alternate other than "window.opener" exists.

A: 

it's window.open() IIRC

the_drow
That opens a new window, it doesn't get a reference to the window object for the window that opened the current window.
David Dorward
hmm you always learn something new :)
the_drow