On Dec 23, 2008, at 5:21 AM, pixeline wrote:

> $('*', allItems).not('p, a,form').show();
>
> triggers this error in firebug:
> Error:
> match[3] is undefined
> jquery-1.3b1.js
> Line 1812
>
> testcase here: http://pixeline.be/experiments/jquerybeta/test1.html
>
>
> it seems related to the use of the wildcard '*' but you're the
> experts :)


I'm getting the same error without using the wildcard:

        $('li:not(:last-child)').toggleClass('highlight');

  For some reason, the error is appearing in the Firefox Error Console  
but not in Firebug (at least for me).

The following are not returning correct results, but they aren't  
throwing errors either:

        $('li').not(':odd').toggleClass('highlight');

        $('li').not(':odd:first').toggleClass('highlight');

Test case:
http://13beta.learningjquery.com/13b1.html

And using jQuery 1.2.6 (working properly):
http://13beta.learningjquery.com/126.html



--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to