On Jan 19, 2009, at 11:16 AM, comslash.com wrote:
I just encountered a problem when using the :not(:first) selector in
1.3 . Can i get a confirmation on if this is a bug, or should I write
this differently ?
// Does Not Work Now
$('.class1>.class2>div:not(:first)').each(function(){ $(this).hide
(); });
// Works With Full Selector
$
('.class1>.class2>div:not(.class1>.class2>div:first)').each(function()
{ $(this).hide(); });
Thank You
Hi,
Yes, you're right about this being a bug. It has already been
reported, and, I believe, a fix is already in the SVN version. In any
case, a fix will be included in jQuery 1.3.1, which should be released
within a week.
--Karl
____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com