jQuery v1.2.6:
$('<div>a</div><div>b</div>').not(':eq(1)').length
= 1
jQuery v1.3b2:
$('<div>a</div><div>b</div>').not(':eq(1)').length
= 2
example is a reduction of line 287 in
http://jqueryjs.googlecode.com/svn/trunk/plugins/tabs/jquery.tabs.js
:
containers.filter(':eq(' + settings.initial +
')').show().end().not(':eq(' + settings.initial +
')').addClass(settings.hideClass);
Thank you,
-will
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---