Click to See Complete Forum and Search --> : close current window


ghatsby
09-16-2004, 02:41 AM
I have a page which opens another window using the window.open method and then closes itself, however everytime the page goes to close itself, IE pops up a warning message:

"the web page you are viewing is trying to close the window. do you want to close the window?"

basically i would like to know how can i close the current window without this message coming up?

Thanks

Kor
09-16-2004, 02:47 AM
No way. Except, maybe, if you would ask Bill Gates to remove that from future IE browsers :D . It is an IE specific behaviour and you can do nothing about that...

ghatsby
09-17-2004, 02:36 AM
THanks for the reply I was afraid of that :)

microprof
10-16-2004, 02:46 AM
I have a script that allows the current window to be closed without asking for confirmation.

EMail me if anyone wants it...

neil9999
10-16-2004, 02:48 AM
Originally posted by microprof
EMail me if anyone wants it...

Or look here: http://www.webdeveloper.com/forum/showthread.php?s=&threadid=44577