Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: IE QUESTION: window.close() in IE


Message #1 by KATHLEEN.M.WHALEN@c... on Tue, 27 Nov 2001 12:42:39 -0500
if the window was opened via javascript's window.open method.. you wont get
a prompt.. otherwise you will get one.

daniel

--
-----------------------------
Daniel O'Dorisio
daniel@o...
www.odorisio-networks.com
-----------------------------
<KATHLEEN.M.WHALEN@c...> wrote in message
news:123769@j...
>
> I have created a button to close an IE window.  When I click on the button
> I received the following message "The Web page you are viewing is trying
> to close the window.  Do you want to close this window?"   Typical, common
> sense message.  However, I have been to some sites (of course I can't
> remember the URLs) where clicking a Close button DID NOT give this message
> and the window still closed.  How do you accomplish this?
>
> Here's my button:
> <input type="button" id="btnExit" name="ExitNow" Value="ExitNow"
> onClick="window.close();">
>
>



  Return to Index