Define title of alert box, HTML, Javascript

HTML/Javascript:

I am using the <body bgcolor="white" text="black" onload="alert('Hello!')"> tag and would like to also define the title of the alert box. Currently the title comes up as "Windows Internet Explorer"

Can this be done?
Thanks,
Michael
webkiwi1Asked:
Who is Participating?
 
stanscott2Commented:
No.  If you use the built-in alert box, you can't change the title.

A workable alternative is to build you own display box, so you can set the title.  You can find complete code for doing this here:  http://www.acejs.com/scriptsfolder/121015/121015.html
0
 
webkiwi1Author Commented:
Got it, thanks for the reply. Not sure if I will go that route but may stick with the existing "boring" alert!!!
0
 
ljubiccicaCommented:
Hey!

Found this on some other forum:
http://www.thescripts.com/forum/thread148721.html

What you could do is open a pop up (html side) and chage title as you wish.

Tell me if this is acceptable.

Greets
Ljubiccica
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.