Hi!

    As far as I know you cannot close a parent window from a child, but I
think you can try something like this:
1. call setTimeout(closeFunction, 2000)
2. open the child window from the parent
3. in closeFunction you close your parent window and I think you get no
confirmation promt.

    HTH,
    Mack


----- Original Message -----
From: "Shawn Grover" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, February 27, 2002 11:04 AM
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
> 
______________________________________________________________________
Why Share?
  Dedicated Win 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=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to