View Full Version : how to change OK button value i Confirm message

08-28-2007, 12:53 PM
Can we change the OK button value in a Confirm message box in Java Script? I have a checkbox and when i click on that checkbox I need to display an alert message with 2 options like 'Redilate' and 'Send' instead of 'OK' and 'Cancel'. is this possible in java script???

08-28-2007, 01:27 PM
There is no way to change the design of the alert/or conform messages.

Philip M
08-28-2007, 01:56 PM
As Kor says, it is not possible to alter the appearance of the alert/confirm/prompt boxes, but it is possible to create customised substitutes.

See e.g.