Skip to main content

Bug Tracker

Side navigation

#3745 closed bug (fixed)

Opened December 23, 2008 10:37PM UTC

Closed January 04, 2009 09:59PM UTC

Last modified January 04, 2009 10:08PM UTC

1.3 beta 1: :not(:first) fails

Reported by: pixeline Owned by: john
Priority: major Milestone: 1.3
Component: selector Version: 1.2.6
Keywords: wildcard,selector Cc: pixeline
Blocked by: Blocking:

var allItems = $('div.ds-item', datascape);


$('*', allItems).not('p, a,form').show();

triggers this error in firebug:


match[3] is undefined


Line 1812

testcase here:

it seems related to the use of the wildcard '*' but you're the

experts :)

Attachments (0)
Change History (5)

Changed December 24, 2008 08:41PM UTC by kswedberg comment:1

I think it's related to the .not() method (also :not() selector).

Another test case here:

This triggers the same error (in Error Console, but not in Firebug):


These return all LI elements, rather than the correct set:



Changed December 25, 2008 08:51PM UTC by flesler comment:2

cc: → pixeline
owner: → john
version: → 1.2.6

Changed January 04, 2009 04:09PM UTC by john comment:3

summary: 1.3 beta 1: selector issue1.3 beta 1: :not(:first) fails

This is a duplicate of #3757.

However, the bug that Karl posted is a different one, so I'm just going to morph this ticket to refer to Karl's test case!

Changed January 04, 2009 09:59PM UTC by john comment:4

resolution: → fixed
status: newclosed

Just landed a fix for this in Sizzle, will be merging into jQuery shortly.

Changed January 04, 2009 10:08PM UTC by john comment:5