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. Visitors don't appreciate people closing programs on their machines. ;-) Bob Filipiak (Contractor) MCP -----Original Message----- From: Iztok Polanic [mailto:iztokp at amis.net] Sent: Thursday, June 07, 2001 6:26 AM To: javascript at LaTech.edu Subject: [Javascript] Closing parent window Hi! I'm opening a new window with window.open() function. But now when this new window opens I'm using OnLoad event to close previsions window. But the problem is that IE asks me if I want to close this window. Is there a way how to disable this message? Lep pozdrav, Iztok _______________________________________________ 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/20010607/11f0b140/attachment.htm>