I want to change the names of Ok
and Cancel
in Confirm Dialog box to Yes
and No
.
Asked
Active
Viewed 884 times
0
-
see example here: http://stackoverflow.com/questions/6457750/form-confirm-before-submit/12357337#12357337 – Sep 11 '12 at 12:10
2 Answers
4
Use Jquery Dialog.
its litte hard when you start learning JQuery but believe me After some time you will love it..

Bindas
- 980
- 2
- 8
- 22
-
http://jqueryui.com/demos/dialog/#modal-confirmation this will do what you wants.. – Bindas Feb 17 '11 at 13:08
1
This is defined by the browser, and not doable by using the default confirm() dialog.
You could create your own dialog box, possibly using a framework such as jQuery and jQuery UI.

Thom Wiggers
- 6,938
- 1
- 39
- 65
-
this is the right answer, others try to find an alternative and **that box wont look like as the confirm dialog box**. – Jan 20 '12 at 11:29