Parent window hangs when the child window is killed!
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   s_k
Posted On:   Monday, March 17, 2003 02:44 AM

hi folks...

I have a JSP page with a button, which on click opens a pop-up child window(using javascript window.open() method..). This child window loads an applet. A button is provided in the child window to kill/close it(using window.close() method). Now the problem is that the child window is closing smoothly but the parent window is hanging for a while and not responding for quite some time. some times i had to kill the parent as it doesn't respond at all...


Any solution is highly appreciated..


thanks n regards,

skg

Re: Parent window hangs when the child window is killed!

Posted By:   Nitesh_Naveen  
Posted On:   Monday, March 17, 2003 03:48 AM

Well... could be a problem with the applet loading etc thatc could be causing the problem. Try doing self.close() instead of window.close() and also try to make the reference/handle of the child window in the parent null. (like if u opened the window as var myChildWin = window.open... then while closing window.opener.myChildWin = null;)
About | Sitemap | Contact