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

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