Synching start and end date time


#1

Hello There,

I am using dhtmlXCalendarObject for two input field calender, start date time and end date time.

I want end date time to be always update once start date time is changed? how do i do that?


#2

You may try to use teh onChange event for your start_date calendar.
For example:
start_date_cal.attachEvent(“onChange”, function(date, state){
end_date_cal.setDate(some_date);
});