#772 closed bug (fixed)
filter( filter ) doesn't work at all
Reported by: | 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 16 years ago by
Milestone: | → 1.1a |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Version: | → 1.1a |
Note: See
TracTickets for help on using
tickets.
Fixed in SVN.