This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "alert message in javaScript" Watch "alert message in javaScript" New topic
Author

alert message in javaScript

aitex abex
Greenhorn

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

When we run alert message display as :

my message

OK
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.
bye.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9962
    
163

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
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Hi,

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: 15299
    
    6

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
 
Don't get me started about those stupid light bulbs.
 
subject: alert message in javaScript
 
Similar Threads
System.out.println equivalent?
javascript alert message
JBoss
MDB one at a time
validation