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().


Ultimately filter utilizes .grep() but like you said grep was destructive.
And you're right that the docs don't mention the acceptance of a function...
here here for open source!

Cheers,
-js
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to