Modify ↓
Ticket #4594 (closed bug: worksforme)
tbody toggle() fails in IE7 if it contains more than one tr
| Reported by: | mcgmatt | Owned by: | john |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | selector | Version: | 1.3.2 |
| Keywords: | tbody tr toggle | Cc: | |
| Blocking: | Blocked by: |
Description
When a tbody tag contains one tr, toggle() works for all browsers when calling toggle() on the tbody. When the tbody tag contains more than one tr tag, toggle() fails in IE7. I have not tested in IE6 or IE8, but it works with multiple tr tags in Firefox, Chrome, Safari, and Opera.
The problem appears to be with Sizzle - with multiple tr tags, it always returns false when checking :hidden for the tbody tag, even when the tbody is hidden.
This worked in the previous version, but does not work in 1.3.2.
Attachments
Change History
Changed 3 years ago by mcgmatt
-
attachment
jQueryIE7tbodyToggleFail.zip
added
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Example of bug