G Guest Feb 14, 2007 #1 How can I close popup window automatically when I close the parent window (the application itself)? Thanks.
How can I close popup window automatically when I close the parent window (the application itself)? Thanks.
M Mark Rae Feb 14, 2007 #2 How can I close popup window automatically when I close the parent window (the application itself)? Click to expand... That will depend how you've launched the popup - post your code...
How can I close popup window automatically when I close the parent window (the application itself)? Click to expand... That will depend how you've launched the popup - post your code...
B bruce barker Feb 14, 2007 #3 when you create a popup, it returns a window handle. save this handle, and in the body onunload event close it. <script>var popup = null;</script> <body ononload="if(popup) popup.close();"> -- bruce (sqlwork.com)
when you create a popup, it returns a window handle. save this handle, and in the body onunload event close it. <script>var popup = null;</script> <body ononload="if(popup) popup.close();"> -- bruce (sqlwork.com)
T Thomas Hansen Feb 15, 2007 #4 when you create a popup, it returns a window handle. save this handle, and in the body onunload event close it. <script>var popup = null;</script> <body ononload="if(popup) popup.close();"> Click to expand... Or even better http://ajaxwidgets.com/AllControlsSamples/Window.aspx ..t
when you create a popup, it returns a window handle. save this handle, and in the body onunload event close it. <script>var popup = null;</script> <body ononload="if(popup) popup.close();"> Click to expand... Or even better http://ajaxwidgets.com/AllControlsSamples/Window.aspx ..t