This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

alert message in javaScript  RSS feed

 
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
Sheriff
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
Sheriff
Posts: 24217
38
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
Ranch Hand
Posts: 15304
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
Boost this thread!