[Javascript] closing windows

Erwin Kodiat Erwin.Kodiat at mitrais.com
Tue Jun 5 06:02:51 CDT 2001


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





More information about the Javascript mailing list