[jQuery] ui.datepicker causes IE "operation aborted"
I believe this bug was supposed to have been fixed in the move from
jQuery Calendar to ui.datepicker, but I'm still seeing sporadic
"Operation Aborted" errors in Internet Explorer, both 6 and 7, when
the datepicker is initialized. Frustrating problem because it's very
intermittent.
The code I'm using is pretty simple; in the HTML:
<input type="text" size="1" id="calendarDaily" value=""
readonly="readonly" />
Then in the $(document).ready function, I instantiate the datepicker
with this:
$('#calendarDaily').datepicker({
showOn: 'button',
speed: 'fast',
buttonImageOnly: true,
buttonImage: '/dailyarchives.jpg',
buttonText: 'Calendar',
minDate: new Date(2001, 2 - 1, 7),
dateFormat: 'YMD-',
onSelect: function(thedate) {
eval("parent.location='/index.php?date=" + thedate + "'");
}
});
Works fine in all flavors of Mozilla/Firefox, and in Safari -- IE is
the only problem.