onBeforeMonthChange

triggered immediately before month in selector is changed.

void onBeforeMonthChange(date prev_date,date next_date){ ... };

Parameters

prev_datedatethe previously selected date
next_datedatethe currently selected date

Example

$$("calendar1").attachEvent("onBeforeMonthChange", function(prev_date, next_date){
    //... some code here ... 
});

See also
  • Articles
  • Back to top