Hi.
I am using a datebox.
$("#foo").datebox('calendar').calendar({
validator: someValidatorFunc,
})
When I click on a date, the date gets pasted into the input field. All's well.
Then I added this handler:
$("#foo").datebox('calendar').calendar({
validator: someValidatorFunc,
onSelect: function () {
//..
}
})
Clicking on a date now has no effect: the calender stays open, and the input field does not get filled with the selected date.
Could it be that attaching an 'onSelect' handler breaks datebox? Is onSelect required to return some value, or call some function?
Thanks,