Basic JavaScript Question:

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

JavaScript Interview Question
JavaScript Interview Question

Answer:

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


Previous QuestionNext Question
What is negative infinity? What is the data type of variables of in JavaScript?