Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear sir/s

I have one html window in which, onclick of one button i have open one div.
on that div again i open another html page.i do some entry and close current html page.
but i wont able to refresh my parent html page.
flow as follows

html-1 => Div => html-2

here on close of html-2 i need to refresh html-1 page.

Please help me
Thank you.
Posted
Comments
[no name] 14-Sep-15 5:26am    
<script>
function RefreshParent() {
if (window.opener != null && !window.opener.closed) {
window.opener.location.reload();
}
}
</script>

Call RefreshParent() method when you clicking button.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900