Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

alert message in javaScript

 
aitex abex
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic