search children recursively
Hi All,
This seems like it should be really simple, but it has escaped me.
I have a jquery object and I want to start there and search ALL of it's children recursively using a selector.
EG.
$(this).parent().parent().children('.targetClass').each(.....
My problem appears to be that .children only searches the immediate children, not the entire subtree under the node.
any advice?
Thanks,
Dan