File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes changing title of alert box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "changing title of alert box" Watch "changing title of alert box" New topic

changing title of alert box

naveen chinthakunta

Joined: Sep 26, 2005
Posts: 16
Hi all,

I am trying to use JavaScript to pop up error/warning messages on my JSP page. Is there any way to change the title of the alert box in java script? On IE, the title appears as "Microsoft Internet Explorer" and for Mozilla the title appears as the URL of the page. I want to standardise this. Any suggestions on this would be great.

Thanks n Regards,
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376

You either have to learn to deal with what the browser does, or you have to build a cutom one out of layers or fine a third party tool that does it and realize that it is impossible to get it to work like a real alert.

I agree. Here's the link:
subject: changing title of alert box
Similar Threads
Alert with checkbox inside????
Title for the alert box
display ActionErrors in JavaScript AlertBox
can v set TITLE to box alert box useing javascript
Title sometimes wrong until JavaScript finishes