class method Element.adjacent
Element.adjacent(element, selector...) → [Element…]
-
selector
(String
) – A CSS selector.
Finds all siblings of the current element that match the given selector(s).
This method can be called either as an instance method or as a generic method. If calling as a generic, pass the instance in as the first argument.