Re: Problem with Window.Close()
- From: "sexball" <sexball@xxxxxxxxxxx>
- Date: Fri, 23 Sep 2005 17:32:49 +0800
Hi Evertjan,
Thx for ur reply.
As you said, the winow is not belong to me. But when i open few IE browser,
and then use window.close() to close one of them. The message box will not
appear. WHY??
Best Regards,
Sexball
"Evertjan." <exjxw.hannivoort@xxxxxxxxxxxx> ¼¶¼g©ó¶l¥ó·s»D:Xns96DA7145DE05Feejj99@xxxxxxxxxxxxxxxxxx
> sexball wrote on 23 sep 2005 in microsoft.public.scripting.jscript:
>
>> I'm using window.close() to close the window. However, it will show a
>> message box with ".......Do you want to close this window" when i use
>> this command. How can i disable this message box?
>>
>
> You cannot if the window is not yours, that is if the window was not
> opened
> by you, because those windows do not "belong" to you.
>
> Do not want to change things on the user's machine, that have nothing to
> do
> with your page. The window where your entry page opens is not yours.
>
> --
> Evertjan.
> The Netherlands.
> (Replace all crosses with dots in my emailaddress)
>
.
- Follow-Ups:
- Re: Problem with Window.Close()
- From: Randy Webb
- Re: Problem with Window.Close()
- References:
- Problem with Window.Close()
- From: sexball
- Re: Problem with Window.Close()
- From: Evertjan.
- Problem with Window.Close()
- Prev by Date: Re: Problem with Window.Close()
- Next by Date: Re: Problem with Window.Close()
- Previous by thread: Re: Problem with Window.Close()
- Next by thread: Re: Problem with Window.Close()
- Index(es):
Relevant Pages
|