If that was the case, jQuery("#main a").filter(function() { return false; })
would return nothing. But it doesn't. It returns the original group of
elements. At least for me.

-- Yehuda

On 12/14/06, Dave Methvin <[EMAIL PROTECTED]> wrote:

 > I looked at 1.0.3 source and filter() accepts a function and it
> appears that if that function returns true the element is included
> otherwise it returns false.

Thanks for pointing that out Jonathan, I was almost certain there was one
but I thought it was .grep() and the docs don't mention that variant of
.filter().

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/





--
Yehuda Katz
Web Developer | Wycats Designs
(ph)  718.877.1325
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to