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 customized Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "customized "alert" boxes" Watch "customized "alert" boxes" New topic

customized "alert" boxes

Subhadip Chatterjee
Ranch Hand

Joined: Dec 12, 2006
Posts: 93
Hi folks,
can i create some sort of customized "alert" boxes, where the button name can be changed from "OK" to say, "Submit"/"Return"?

Let me know, if any of you, have some kinda this, in your kitty...
[ January 23, 2007: Message edited by: Bear Bibeault ]

Refreshing life every moment...
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Oh my goodness!!! Purple horses with PINK pOLKa DOts! YEPPPIIEEE!!!

You can not customize and alert box. It is a windowed element andyou can not change anything but the text. Same with confirm and prompt. If you want to make your own, you need to use layers(divs) to create that effect.

I agree. Here's the link:
subject: customized "alert" boxes
It's not a secret anymore!