TJ wrote on 2013-10-17 21:37:20
Hi,
The easiest way is to modify the calendar.js on function tc_setMonth from
if(isDate(date_array[2], mvalue, date_array[0])){
tc_setDMY(objname, date_array[2], mvalue, date_array[0]);
}else document.getElementById(objname+"_month").selectedIndex = date_array[1];
to
if(isDate(date_array[2], mvalue, date_array[0])){
tc_setDMY(objname, 1, mvalue, date_array[0]);
}else document.getElementById(objname+"_month").selectedIndex = date_array[1];
Another way is to write a custom javascript function and attach it through
$myCalendar->setOnChange("yourFunction()");