Bug Tracker

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#772 closed bug (fixed)

filter( filter ) doesn't work at all

Reported by: [email protected] Owned by:
Priority: major Milestone: 1.1a
Component: core Version: 1.1a
Keywords: Cc:
Blocked by: Blocking:

Description

filter(callback) doesn't work like it should http://docs.jquery.com/API/1.1a/DOM/Traversing#filter.28_filter_.29

example: HTML <div id="container"> <div class="searchable">100</div> <div class="searchable">101</div> <div class="searchable">110</div> <div class="searchable">111</div> </div>

javascript: $('#container .searchable').filter(function() {return true;}) $('#container .searchable').filter(function() {return false;}) both return every .searchable element.

Change History (1)

comment:1 Changed 15 years ago by john

Milestone: 1.1a
Resolution: fixed
Status: newclosed
Version: 1.1a

Fixed in SVN.

Note: See TracTickets for help on using tickets.