how to refresh the parent window while clickin the button (close button) in the child window child is popup window
+1
A:
You can access the parent window using
window.opener
and refresh the parent window using
window.opener.reload()
See window.opener
rahul
2010-02-20 06:18:51
+1
A:
<body onunload="window.opener.reload();">
If you use this when you close your child window, the parent will be reloaded. window.opener refers to the parent window object.
Saeros
2010-02-20 06:30:26