In a pop-up browser window, how do you refer to the main browser window that opened it?

Q

In a pop-up browser window, how do you refer to the main browser window that opened it?

✍: Guest

A

Use window.opener to refer to the main window from pop-ups.

2008-06-17, 4753👍, 0💬