Home > Code > Javascript > Refreshing parent window after child window close using JavaScript

Refreshing parent window after child window close using JavaScript

by Spidy   on Mar 09, 2011   Category: Javascript   |  Views: 1387    |  Points: 25   |  Silver 


Call the below JavaScript code on the child window close button

<script language="JavaScript">
function CloseChildWindow()
{
window.opener.location.href="Parent.aspx";
self.close();
}
</script>

<input type="button" onClick="CloseChildWindow();" value="Close">






Post Code  |  Code Snippet Home

User Responses


No response found, be the first to review this code snippet.

Submit feedback about this code snippet

Please sign in to post feedback

Latest Posts