Ticket #3861 (closed bug: fixed)
Manually entered date do not update altField
|Reported by:||mdiaz||Owned by:|
If a date is typed in the field (instead of selected from the calendar widget) the altField value is not updated.
A workaround to this problem:
var widget = $.data(this, "datepicker"); $.datepicker._setDateFromField(widget); $.datepicker._updateAlternate(widget);
But this should be implemented in the widget itself.
The keyup event could be used instead of the change event so the updated value would still be submitted if the user clicks the submit button without removing focus from the datepicker field.