问题
Using JavaScript I open the pop window and parent window is inactive at this time, I wanted to active parentwindow through popwindow. (this is a web project on Java)
回答1:
You can usually window.opener in JavaScript to get at the window that opened at popup.
来源:https://stackoverflow.com/questions/877788/from-pop-window-active-the-parent-window