closest actually exists in native javascript now, and querySelectorAll behaves like find. If you're using jQuery youre probably interested in.siblings( [selector ] )` which is kind of between closest and find.
closest
querySelectorAll
find
re probably interested in
closest
actually exists in native javascript now, andquerySelectorAll
behaves likefind
. If you're using jQuery youre probably interested in
.siblings( [selector ] )` which is kind of between closest and find.