The okText property (string) specifies the text of the "OK" button.
DayPilot.Modal.okText
"OK"
This property only applies to the options object passed to the built-in dialog methods:
options
DayPilot.Modal.alert()
DayPilot.Modal.confirm()
DayPilot.Modal.prompt()
DayPilot.Modal.form()
DayPilot.Modal.alert("Hello, world!", { okText: "Close" });
DayPilot.Modal.cancelText
DayPilot.Modal Class
Availability of this API item in DayPilot editions: