Hi,
I am new to javascipt and am trying to close my parent window when the child window is closed. Can someone please help me. I really need to fix this by tonight as i have to submit this project to my client tomorrow.
i would really appreciate your help,
thanks,
Kiran
ON PARENT WINDOW:
floater = window.open("child.htm","",""
floater.opener = self;
ON CHILD WINDOW:
<SCRIPT FOR=window Event=onunload>
opener.close();
</SCRIPT>
so when i close the child window, i want the parent to close as well.
I am new to javascipt and am trying to close my parent window when the child window is closed. Can someone please help me. I really need to fix this by tonight as i have to submit this project to my client tomorrow.
i would really appreciate your help,
thanks,
Kiran
ON PARENT WINDOW:
floater = window.open("child.htm","",""
floater.opener = self;
ON CHILD WINDOW:
<SCRIPT FOR=window Event=onunload>
opener.close();
</SCRIPT>
so when i close the child window, i want the parent to close as well.