Categories | Question details Back To List | ||
dhmlxCalendar + compare dates I have 2 calendars attached to the 2 input box. and I want to validate that first input box date should always come before the other text box. let say <input type="text" name ="start_date" > <input type="text" name ="end_date" > so in any condition, this should qualify start_date<end_date. Answer posted by Alex (support) on Jan 04, 2010 04:11 Calendarprovides onClick event. Its handler gets object of selected date as a parameter. It can be used for validation: calendar.attachEvent("onClick", function(date){ /*your code here*/ }) |