Thanks Ariel,

> > Is there an elegant way to return the
> > _first_ matching parent of each element in a collection?
> > Am I missing something obvious?

Yes, it seems I was :-(

> $('.clickable').map(function(){
>    return $(this).parents('.container')[0];
> });

That's exactly what I was looking for.
cheers!
--Will

Reply via email to