Reply Review

Reply to:

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()");

Message:
Name:
Email:
(optional)
(Your email that entered here will not show anywhere on website and will use only reference when someone reply your post)
  I want to receive a copy of email on this post (your email is needed)
 
Code:
 
 
Search this site
Programming Tutorial
CSharp (21)
PHP (12)
HTML (12)
ASP (14)