Re: Basic questions about alert() and confirm()

Giganews Newsgroups
Subject: Re: Basic questions about alert() and confirm()
Posted by:  kendalk08 (kendalk…@gmail.com)
Date: Wed, 28 Nov 2007

On Nov 28, 9:29 am, simplicity <stella_pig.…@yahoo.ca> wrote:
> I have some basic questions about alert() and confirm():
>
> (1) Is it possible to customize the labels in the buttons, eg. put
> "Yes" instead of "OK"?
>
> (2) Is there a control over the text in the pop-up frame? I would like
> to get rid of "Windows Internet Explorer" (IE) or "The page athttp://192.168.22.215:5555says:" (Firefox) or replace it with
> something meaningfull.
>
> (BTW, the text in the frame in Firefox is not even true as the pop-up
> does not originate in the server but locally).
>
> I browsed through tens of sites but all I found is one-liners about
> both functions. Well... maybe that's all that it is there...

It is not possible in Javscript, but if you learn VBScript you will
find that you can. You can also mix Javascript and VBScript to make a
custom page although it is not recomended.

Replies

None

In response to

Basic questions about alert() and confirm() posted by simplicity on Wed, 28 Nov 2007