Side navigation
#3814 closed bug (fixed)
Opened January 08, 2009 06:29PM UTC
Closed January 18, 2009 02:19AM UTC
Last modified March 14, 2012 11:12PM UTC
table tr:first > *:not(:first), doesn't work
Reported by: | emelendez | Owned by: | john |
---|---|---|---|
Priority: | major | Milestone: | 1.3.1 |
Component: | selector | Version: | 1.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I'm testing “jQuery 1.3 Beta 2″
Ok,In an HTML table, I want to select (in a single query) the cells of the first row, except the first cell.
in jQuery 1.2.6 this worked nicely:
$("table tr:first > *:not(:first)")
the use of "*" is because it could be either "th" or "td".
in jQuery 1.3b2 throws an error.
Attachments (1)
Change History (3)
Changed January 08, 2009 06:49PM UTC by comment:1
Changed January 09, 2009 04:03AM UTC by comment:2
need: | Review → Patch |
---|---|
owner: | → john |
Agreed, but the bug is still there in 1.3b2, at least for this case. The error happens on this line:
match[3] = match[3].match(chunker).length > 1 ?
That's the new Sizzle code mentioned in #3745.
Changed January 18, 2009 02:19AM UTC by comment:3
component: | unfilled → selector |
---|---|
milestone: | 1.3 → 1.3.1 |
resolution: | → fixed |
status: | new → closed |
version: | → 1.3 |
Landed a fix for this in Sizzle:
http://github.com/jeresig/sizzle/commit/495f51cba1382e0782a7e6b35e5a6055e5ad4507
Will be merging into jQuery shortly.
it is the same bug as Ticket #3745