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

Title for the alert box

 
Jeff Dube
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I made an alert box but i am unable to change the box title. Can somebody help me?
Thanks
Jeff
 
Terence Doyle
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm almost 100% on this. :-)
The alertbox has the title of the application that calls it so it cannot be changed.
The same goes for confirm box and prompt box. All three allow text to be placed in the area above the buttons or textfield. Perhaps you could play with that feature?

Bye,
Terry
 
Tilak Ochani Jiwansingh
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
You cannot do this but the alternative to it is:
Use window.open function to open a new window, where in you can specify the size,title,width,height etc. (As good as Alert Box)
You can place n number of controls into it as you do in normal html page.

I think this would solve your purpose.
Bye
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic