Skip to main content

Bug Tracker

Side navigation

#772 closed bug (fixed)

Opened January 10, 2007 04:40PM UTC

Closed January 10, 2007 06:19PM UTC

Last modified June 19, 2007 06:51AM UTC

filter( filter ) doesn't work at all

Reported by: nevermore@car.ee 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.

Attachments (0)
Change History (1)

Changed January 10, 2007 06:19PM UTC by john comment:1

milestone: → 1.1a
resolution: → fixed
status: newclosed
version: → 1.1a

Fixed in SVN.