shamik
08-22-2003, 04:46 PM
Hi guys, I'm having a nightmare with refreshing a parent window from a child window.The child window has a close button which basically invokes the parent window and refreshes it.The fucntion I'm using in child window is:
function closeWin() {
window.opener.location.reload();
window.close();
}
Now the problem is,this reload function is behaving like the browser F5,its popping up that refresh/cancel window.When I click on refresh,the parent window is getting refreshed with the updated value.The parent window is being generated thru a servlet.
I'll appreciate if someone can bail me out.
function closeWin() {
window.opener.location.reload();
window.close();
}
Now the problem is,this reload function is behaving like the browser F5,its popping up that refresh/cancel window.When I click on refresh,the parent window is getting refreshed with the updated value.The parent window is being generated thru a servlet.
I'll appreciate if someone can bail me out.