search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How to change button label on the confirm popup.

Asked by harshad.jadhav@kalpadrum.com
7 years ago.

Hello All

While deleting record I am showing confirm popup box. it has a message 'Do you really want to delete this record'
and two buttons ok and Cancel. I want to change these buttons to Yes and No respectivly.
i am using following code.
EventDeleteJavaScript="if (confirm('Do you really want to delete this record')) dpc1.eventDeleteCallBack(e);"

so please tell me how to do that?

Thanks in advance

Harshad

Answer posted by Dan Letecky [DayPilot]
7 years ago.

The confirm() dialog is provided by the browser and it's not possible to change the buttons.

This question is more than 6 months old and has been closed. Please create a new question if you have anything to add.