Ticket #7776 (closed bug: duplicate)
empty tbody not found in jQuery 1.4.4
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 1.5 |
| Component: | selector | Version: | 1.5 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
hi,
i have a table like:
<table>
<thead>
...
</thead>
<tbody></tbody>
</table>
in jQuery 1.4.4, if i have 'thead' as jQuery object, the following does not find the table body:
$('tbody', head.parent());
i also tested in 1.4.3 and 1.4.2, in this versions everything works as expected.
i used FF3.6, not tested in other browsers
regards
Change History
comment:1 follow-up: ↓ 2 Changed 3 years ago by jitter
- Status changed from new to closed
- Resolution set to worksforme
comment:2 in reply to: ↑ 1 Changed 3 years ago by anonymous
Replying to jitter:
Thanks for taking the time to contribute to the jQuery project by writing a bug report.
After checking your report I made up this test case, but I can't reproduce your problem. This seems to work fine for me. Closing for now.
Please report back if you can provide a test case which reproduces your problem.
here you go
regards
comment:3 Changed 3 years ago by jitter
- Priority changed from undecided to high
- Resolution worksforme deleted
- Status changed from closed to reopened
- Component changed from unfiled to selector
- Milestone changed from 1.next to 1.4.5
Thanks for reporting back with a the test case. This has already been fixed in the current dev-version
Your test case using jquery-git version.
comment:4 Changed 3 years ago by jitter
- Status changed from reopened to closed
- Resolution set to duplicate
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Thanks for taking the time to contribute to the jQuery project by writing a bug report.
After checking your report I made up this test case, but I can't reproduce your problem. This seems to work fine for me. Closing for now.
Please report back if you can provide a test case which reproduces your problem.
How to report bugs