Categories | Question details Back To List | ||
Double Calendar Elements I am using the Double Calendar in a form but cannot find how to assign the R and L calendar values to a field. I am using: mDCal.setOnClickHandler( function(){ $('group_arrive_on').value = Left calendar value? $('group_depart_on').value = Right calendar value? } ); How are the two calendars referenced? Thanks, Greg Answer posted by Support on May 20, 2008 05:21 You can use mDCal.leftCalendar mDCal.rightCalendar to access left and right calendar objects $('group_arrive_on').value = mDCal.leftCalendar.getFormatedDate() $('group_depart_on').value = mDCal.rightCalendar.getFormatedDate() |