This code breaks from jQuery UI 1.8.21 to 1.8.22
The value is written to a text field when it changes. The thing that breaks is that when the year selector is changed it no longer updates the year in the text field.
Code:
$(function() {
$('#datepicker1').datepicker({
changeMonth:true,
changeYear:true,
yearRange:"-100:+0",
dateFormat:"mm/dd/yy",
onChangeMonthYear:function(y, m, i){
var d = i.selectedDay;
$(this).datepicker('setDate', new Date(y, m - 1, d));
}
});
});