Hi All
I have a screen which opens another popup on click of button. The pop up does some procession and when i am closing the pop up window using the 'X' button of the browser, it should refresh the parent window. but it is not refreshing the parent window. I am using the following code in the function which is being called at unload:
function fnCloseButton(){
window.opener.location=window.opener.location;
window.close();
}
Call to the function is like this:
<BODY onunload="javascript:fnCloseButton();">
Even if i give an alert at onunload of body, it is not working. :(
If anyone can help me.........