DayPilot.Modal.alert()
Read more in the JavaScript alert() Replacement tutorial.
Event Handling
DayPilot.Modal.alert("Hello, World!") .then(function(args) { if (args.canceled) { DayPilot.Modal.alert("You canceled the modal dialog."); } else { DayPilot.Modal.alert("You clicked OK."); } });