aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Java script dialog box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Java script dialog box" Watch "Java script dialog box" New topic
Author

Java script dialog box

Richard Mendoza
Ranch Hand

Joined: Feb 26, 2003
Posts: 48
How do I create a dialog box in JAVASCRIPT that contains two buttons labeled YES or NO. I'm using confirm() method, but the buttons labeled OK and CANCEL.. Can I change the labels of it to YES/NO instead of OK/CANCEL.. If not, is there a way to create a dialog box containing YES and NO buttons?
himanshu patel
Ranch Hand

Joined: Feb 03, 2003
Posts: 205
As far as I know, You can not rename to 'YES' and 'NO'.
However, you may go for customized dialog box,
Check with this Eric's link.
http://www10.brinkster.com/A1ien51/Customize/


If you want to become a rich, do not work for others but make others to work for you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java script dialog box
 
Similar Threads
dialog box
How to creating an Alert Dialog window?
Confirm box ok/cancel to Yes/No.
JOptionpane
dialog box