Refreshing parent window after child window close using JavaScript.

Vishalneeraj-24503
Posted by Vishalneeraj-24503 under JavaScript category on | Points: 40 | Views : 232
Write below Javascript code:-
<script language = "JavaScript">
function CloseChildWindow()
{
window.opener.location.href="Parent.aspx";
self.close();
}
</script>

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

Comments or Responses

Login to post response