jQuery has a function that will search for a selector starting with the currently selected element and goes up the element tree (closest), but doesn't have one that starts with the current element and goes down the element tree. Seems like a weird inconsistency.
@kimpegasus isn't that the "find" function? it looks for children nodes
@oreolek Problem is that it *only* matches against child nodes. I want a function that can matches a child or the current element, like closest does.
As it happens, the latter function is exactly what I need right now. Guess I'll write it myself!