Side navigation
#9131 closed bug (invalid)
Opened May 05, 2011 06:16PM UTC
Closed May 09, 2011 02:43PM UTC
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: | ||
Blocked by: | Blocking: |
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
Attachments (0)
Change History (3)
Changed May 06, 2011 06:43PM UTC by comment:1
component: | unfiled → selector |
---|---|
owner: | → anonymous |
priority: | undecided → low |
status: | new → pending |
Changed May 09, 2011 02:35PM UTC by comment:2
status: | pending → new |
---|
well, i've found where my error was. Its because i was using grouping cell (colspan) and i wasnt exluding them in the query so i had weird results.
sorry for this one!
Changed May 09, 2011 02:43PM UTC by comment:3
resolution: | → invalid |
---|---|
status: | new → closed |
Thanks for looking into it.
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.