Poru
Poru

Reputation: 8360

Popup with parent window notification

I have a web app which opens a new popup window with JavaScript and after the user authenticate inside the popup window I want to close it (which I do with window.close()) and reload the window which opened the popup window. How could I do that?

JS-Popup-Code:

var w = window.open("url", "title", "width=990,height=500,resizable=yes");
w.focus();

Upvotes: 0

Views: 878

Answers (1)

Cfreak
Cfreak

Reputation: 19309

opener.refresh()

before you close your window.

Upvotes: 2

Related Questions