deadlock Message Board
[ March Full List | Post A Reply ]

Re: Javascrpit code for closing a window
From prathap on 30 Oct '01
replying to Javascrpit code for closing a window posted by Jeannie

>Hi, I keep getting am error when I try to close the window on my "confirm" page for my email list. I used the code <a href="javascript:window.close();">Close Window</a>, but when I test in Netscape I get "Close Window_blank? When I test in Internet Explorer I get "The web page you are viewing is trying to close the window -Do you want to close this window?
>The email sign up link is on the homepage of www. towards the bottom. Any advice would be helpful. Thanks!

Actually speaking it is not an error message.
IE prompts this message to the user when the window is closed
using window.close() method.

Where as NetScape simply cloes the window without prompting the

Your Reply

*Your name:
*Message subject:
Home page title:
Home page URL:
(if you'd like to receive automatic replies by email)