$().find use a function as filter
enzoz opened this issue · comments
enzoz commented
hi Kyle
There's any possibility find use a function as parameter using to filter nodes?
Something like this:
var foundElements = $("div").find( function(node) {
// do something awesome here....
});
Kyle Barrow commented
I'm looking at the possibility of a loop method in 0.9 which should fulfil this functionality.
enzoz commented
interesting, I've cloned the project on my machine and made a stupid implementation to supply this need, but I'll be waiting fot it on v0.9 :)
Thanks a lot.
Kyle Barrow commented
The loop method has been added to 0.9. I hope this is what you were after.