Modify ↓
Ticket #9131 (closed bug: invalid)
the :eq selector (and others) doesnt return the same thing depending of filters
| Reported by: | anonymous | Owned by: | anonymous |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | selector | Version: | 1.6 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
On a simple html table, these 2 selectors doesnt return the same column index!
- $("#table tr td:eq(8)")
- $("#table tr:first td:eq(8)")
the first one will return the 8th column
the second one will return the 9th column
Change History
comment:1 Changed 2 years ago by timmywil
- Owner set to anonymous
- Priority changed from undecided to low
- Status changed from new to pending
- Component changed from unfiled to selector
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.

Thanks for taking the time to contribute to the jQuery project! Please provide a reduced test case on http://jsfiddle.net that reproduces the issue experienced to help us assess your ticket.
Additionally, test against the jQuery (edge) version to ensure the issue still exists.