From: Jeremy J Starcher on
On Thu, 24 Apr 2008 07:26:30 -0700, geevaa wrote:

> Hi All,
>
> Using javascript i am displaying an alert...
> Is there is a way to change the title of the alert box displayed through
> Javascript
>
> Here is my simple javascript code
> <script type = "text/javascript">
> alert('Hi All !!!')
> </script>
>
> When I run the above code I can see an alert box with the content "Hi
> All" ...
> But the title of the alert box displayed in firefox is "The page at
> http://localhost says"...
>
>
> Is there is a way to change this text to my own coustomized text..?

No UA that I know of would allow that to be changed. It is an important
part of the JavaScript security model.

>
> Is there is any thing a client side programmer had got to do with this
> title text..?

Again no.

>
> Is there is a way to change the cursor pointer to cursor hand when the
> user moves his pointer on the ok button on the alert box ..?

The alert box is not a Javascript function, it is provided by the hosting
user agent. The hosting UA doesn't even have to display an 'OK' button
and may, in fact, provide others. (IIRC, Opera offers a 'Stop running
all javascript on this page' type option as well.)

>
> Thanks in advance..

 | 
Pages: 1
Prev: freelance JavaScript
Next: Not showing focus