Bug Tracker

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#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:
Blocked by: Blocking:

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 (7)

comment:1 follow-up: Changed 6 years ago by jitter

  • Resolution set to worksforme
  • Status changed from new to closed

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

comment:2 in reply to: ↑ 1 Changed 6 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.


How to report bugs

here you go

http://jsfiddle.net/32H2F/10/

regards

comment:3 Changed 6 years ago by jitter

  • Component changed from unfiled to selector
  • Milestone changed from 1.next to 1.4.5
  • Priority changed from undecided to high
  • Resolution worksforme deleted
  • Status changed from closed to reopened

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 6 years ago by jitter

  • Resolution set to duplicate
  • Status changed from reopened to closed

comment:5 Changed 6 years ago by jitter

Duplicate of #7533.

comment:6 Changed 5 years ago by john

  • Version changed from 1.4.4 to 1.5

There wasn't a 1.4.5 release, was actually 1.5.

comment:7 Changed 5 years ago by john

  • Milestone changed from 1.4.5 to 1.5

There was no 1.4.5 release, was actually 1.5.

Note: See TracTickets for help on using tickets.