dhtmlxMessage change button text

Greetings,

I’m creating a modal confirmation box. How to change the text to “Yes” and “No” instead of “Ok” and “cancel”.

Please, try to use:
dhtmlx.confirm({
title:“Custom title”,
ok:“Yes”, cancel:“No”,
text:“text in the message”,
})
Here you can find an example:
dhtmlx.com/docs/products/dhtmlx … nfirm.html

1 Like