onBeforeDateSelect

fires when a user clicks on a date but before it is selected in the calendar

void onBeforeDateSelect(date date);
datedatethe selected date object

Example

$$('calendar1').attachEvent("onBeforeDateSelect", function(date){
    //... some code here ... 
});

See also
Back to top