Datepicker won't close in Google Chrome
Hi.
I'm using the latest jQuery UI, which I downloaded last week. The datepicker works great in IE 9 and Firefox 18. But it won't close in Google Chrome 24, either when a date is picked, or when the done button is clicked. There are four input textboxes that use the datepicker. The jQuery code I'm using:
- $(function() {
$( "#fromCheck" ).datepicker({
maxDate: "+0",
changeMonth: true,
numberOfMonths: 1,
// showButtonPanel: true,
onClose: function( selectedDate ) {
$( "#toCheck" ).datepicker( "option", "minDate", selectedDate );
}
});
$( "#toCheck" ).datepicker({
maxDate: "+0",
changeMonth: true,
numberOfMonths: 1,
// showButtonPanel: true,
onClose: function( selectedDate ) {
$( "#fromCheck" ).datepicker( "option", "maxDate", selectedDate );
}
});
$( "#fromCard" ).datepicker({
maxDate: "+0",
changeMonth: true,
numberOfMonths: 1,
showButtonPanel: true,
onClose: function( selectedDate ) {
$( "#toCard" ).datepicker( "option", "minDate", selectedDate );
}
});
$( "#toCard" ).datepicker({
maxDate: "+0",
changeMonth: true,
numberOfMonths: 1,
showButtonPanel: true,
onClose: function( selectedDate ) {
$( "#fromCard" ).datepicker( "option", "maxDate", selectedDate );
}
});
});