[Javascript] closing windows

Filipiak, Bob (Contractor) filipiab at atsc.army.mil
Tue Jun 5 07:18:23 CDT 2001


If the window that you are trying to close is not a window that you opened
via your script, you will get the dialog from the IE browser as a security
measure when your script tries to close the window. 

Bob Filipiak (Contractor)
MCP 

-----Original Message-----
From: Erwin Kodiat [mailto:Erwin.Kodiat at mitrais.com]
Sent: Tuesday, June 05, 2001 7:03 AM
To: 'javascript at LaTech.edu'
Subject: RE: [Javascript] closing windows


Use self.close() in the parent window, instead.

Erwin Kodiat
Mitrais Software Development Center
Bali, Indonesia
Tel: +62 361 755025
Fax: +62 361 755024
http://www.mitrais.com <http://www.mitrais.com/> 

This transmission is for the intended addressee only and is confidential
information.  If you have received this transmission in error, please delete
it and notify the sender.  The contents of this E-mail are the opinion of
the writer only and are not endorsed by MROnly.com Pte Ltd unless expressly
stated otherwise.
  

 

-----Original Message-----
From: Andrew Dunn [mailto:adunn at mail.interworx.com.au]
Sent: Tuesday, June 05, 2001 18:29
To: javascript at LaTech.edu
Subject: [Javascript] closing windows


Hi,
   I have a window that opens another window. When the second window is
opened i want the first window to close. It works but in IE it displays a
little confirm message saying "The Web page you are viewing is trying to
close the window Do you want to close the window?"
 
Does anyone know how to stop this message displaying?
 
Regards,
 
Andrew


_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010605/68d80677/attachment.htm>


More information about the Javascript mailing list