You can't do it.  In the security model of Javascript the only windows
that can be closed are the child windows. At least, that's what I've
been taught.

- Matt Small

-----Original Message-----
From: Shawn Grover [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 27, 2002 2:04 PM
To: CF-Talk
Subject: OT: Closing a window from JS without prompt?

I'm looking for ideas on how to close a Parent window from Javascript
without getting the confirmation prompt.
We don't have an issue with any child windows, but we open an interface
to
our app then want to close the original window without the prompt.

Any tips?  Thanks in advance.

Shawn Grover

______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to