I use window object with close method to close a web page, this web page is
designed by active server page and VBscript. the code is as follows:
window.close()
however, an alart messege comes from IE. It's details: The Web page you are
viewing is trying to close the windows. Do you want to close this windows?
I want to directly close the window without any alart messege. In VBA, we
can add a declare Application.displayalart =false.
How to do this in html or VBA?
Thanks.

--
Developer
QA Dashboard
Microsoft China Development Centre

Re: How to close a IE page without any alart? by Evertjan

Evertjan
Mon Jul 11 03:42:30 CDT 2005

=?Utf-8?B?TWljcm9sb25nwq4=?= wrote on 11 jul 2005 in
microsoft.public.inetserver.asp.general:

> I use window object with close method to close a web page, this web
> page is designed by active server page and VBscript. the code is as
> follows: window.close()
> however, an alart messege comes from IE. It's details: The Web page
> you are viewing is trying to close the windows. Do you want to close
> this windows? I want to directly close the window without any alart
> messege. In VBA, we can add a declare Application.displayalart =false.
> How to do this in html or VBA?
>

ASP is serverside scripting,
so does not know about windows, windowobjects and/or clientside scripting.

Please ask in another NG that does incorproate clisntside scripting.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)