Ticket #8426 (closed bug: notabug)
DatePicker IE8 : bug
| Reported by: | kazamafury | Owned by: | kazamafury |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.9.0 |
| Component: | ui.datepicker | Version: | 1.8.16 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I have got the following error message with IE8 and datepicker :
"Unable to activate the control because it is either invisible or inactive, is of a type not recognizing this feature" File : jquery-1.7.2.js Line : 3241
This bug is appearing when this part of code is trying to apply "focus()" on a disabled datePicker element.
When my page is loaded, I have a datepicker which is not disabled. But this datepicker appears in a pop-up (with div having display:none) and is shown when the pop-up appears. Information is loaded with ajax, but when information is loading, I disable all elements in the pop-up then enable them after ajax request successes.
I have temporary fixed this with the following test :
if(type == 'focus' && !$(elem).attr('disabled'))
{
elem[ type ]();
}
Best Regards.
Change History
comment:1 Changed 11 months ago by scott.gonzalez
- Owner set to kazamafury
- Status changed from new to pending
- Component changed from ui.core to ui.datepicker
comment:2 Changed 10 months ago by trac-o-bot
- Status changed from pending to closed
- Resolution set to invalid
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!


Please provide a reduced test case (not using ajax) on jsFiddle or jsbin that shows what you're doing. If you're manually trying to open a datepicker on a disabled field, then that's an invalid use.