#4405 closed bug (notabug)
Clicking on Tab throws an exception in IE7 after receiving the response of an Ajax request
Reported by: | numericalexample.com | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.tabs | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
jQuery UI tabs work fine in IE7 except for one particular case.
When clicking on a tab after having received the response on an Ajax request, IE7 throws an exception.
Follow these steps to reproduce the exception:
- Set up some tabs in javascript
- do an ajax request which needn't be related to the tabs
- the ajax request completes without errors
- click on a tab
Or:
- Open page http://www.numericalexample.com/content/view/76/33/
- Click on "Compute" (does the ajax request)
- Ajax request completes: Total computed Vitamin B12 (μg/day): 0.0000
- Click on Tab "Instructions"
In the second four steps the test is with jQuery 1.2.6 and jQuery ui 1.6 but I can assure you the same bug is still present with jQuery 1.3.2 and jQuery UI 1.7.1.
Others have reported a similar unsolved bug in Google Groups, with less details.
Change History (4)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Please neglect my previous comment.
The problem was that I tried to write an empty string in the jQuery html method: $('#receivingId').html(varContainingEmptyString); This happened in the response method of an Ajax call.
FireFox handled this OK but in IE7 the clicking on tabs appeared to be broken from that moment.
comment:3 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
This bug can be closed again. I got rid of the problem by cleaning up some code. Sorry for the confusion.