Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java script dialog box

 
Richard Mendoza
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic