Edit this page

messages Object

Defines the text of the labels that are shown within the confirm dialog. Used primarily for localization.

Example

<div id="confirm"></div>
<script>
$("#confirm").kendoConfirm({
  messages:{
    okText: "OK",
    cancel: "No"
  }
}).data("kendoConfirm").open();
</script>

messages.okText String (default: "OK")

The title of the OK button.

Example

<div id="confirm"></div>
<script>
$("#confirm").kendoConfirm({
  messages:{
    okText: "OK",
  }
}).data("kendoConfirm").open();
</script>

messages.cancel String (default: "Cancel")

The title of the Cancel button.

Example

<div id="confirm"></div>
<script>
$("#confirm").kendoConfirm({
  messages:{
    cancel: "No"
  }
}).data("kendoConfirm").open();
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy