Ticket #7263 (closed bug: worksforme)
jQuery.is(':first') not checking correctly
|Reported by:||qvprof@…||Owned by:|
|Keywords:||Cc:||rwaldron, snover, ajpiano|
So jQuery.is(selector) suppose to return 'true' or 'false' but it doesn't seem to work with with the pseudo selectors :first & :last.
In a list of 3 items: ('li:first').is('li:last') //true, wrong, Bug? ('li:eq(0)').is('li:eq(2)') //false, correct http://jsfiddle.net/882Tc/
Tried it in a bunch of previous version and got the same result.
I'm not sure if I'm doing something wrong or I'm not understanding :first correctly... but it seems to me that :first & :last doesn't work correctly with jQuery.is()
- Keywords is first last equal added
- Status changed from new to open
comment:13 Changed 3 years ago by dmethvin
- Status changed from open to closed
- Resolution set to worksforme