Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
113
rated 0 times [  118] [ 5]  / answers: 1 / hits: 52428  / 15 Years ago, sat, february 20, 2010, 12:00:00

How can I refresh the parent window when clicking the close button of a child window?



The child window is a pop-up.


More From » javascript

 Answers
10

You can access the parent window using



window.opener


and refresh the parent window using



window.opener.reload()


See window.opener


[#97530] Tuesday, February 16, 2010, 15 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tyasiaalmap

Total Points: 294
Total Questions: 107
Total Answers: 108

Location: Libya
Member since Mon, Dec 7, 2020
4 Years ago
;