DayPilot.Modal.okText

The okText property (string) specifies the text of the "OK" button.

This property only applies to the options object that is passed to the built-in dialog methods:

Default Value

"OK"

Example

DayPilot.Modal.alert("Hello, world!", {okText: "Close"});