tags:

views:

164

answers:

2

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
+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