DHTMLX Docs & Samples Explorer

onClick

Fires after a user selects date.

myCalendar.attachEvent("onClick",function(date){
      alert("Date is set to "+date) 
})

Parameters of handler function:

  • date - the selected date.