Modify ↓
Ticket #772 (closed bug: fixed)
filter( filter ) doesn't work at all
| Reported by: | nevermore@… | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.1a |
| Component: | core | Version: | 1.1a |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Fixed in SVN.