Check documentation for the latest version of dhtmlxSuite onChange DHTMLX Docs

onChange

fires when the user changes a month, a year or time in the selector

void onChange(Date date,boolean state){ ... };

Parameters

dateDatethe selected date
statebooleantrue if date is changed manually in input

Example

myCalendar.attachEvent("onChange", function(date, state){
    // your code here
});

Back to top