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 alert message in javaScript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Storm Applied this week in the Other Open Source APIs forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "alert message in javaScript" Watch "alert message in javaScript" New topic

alert message in javaScript

aitex abex

Joined: Jun 02, 2006
Posts: 20
if(some condition){
alert("my message");

When we run alert message display as :

my message

But the problem is that in title bar i want my own.. somthing related to my project but by default we find " Microsoft internet explorer" so wahts solution.
Any body please.
Thanks in advance.
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10421

You cannot change the title of an alert box. Have a look at the "Remarks" section of MSDN Library reference - alert()
[ July 21, 2006: Message edited by: jaikiran pai ]

[My Blog] [JavaRanch Journal]
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24189


Welcome to JavaRanch!

JavaScript and Java are two entirely different, unrelated languages. This site is primarily about Java, not JavaScript. We do have one JavaScript forum here. I will move this topic there for you; go over and look for it!

[Jess in Action][AskingGoodQuestions]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

You can use CSS and a bit of Javascript to make your own. I've rolled my own before and there are several available on the net both commercial and free.

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: alert message in javaScript