jQuery()

Return a collection of matched elements either found in the DOM based on passed argument(s) or created by passing an HTML string.

.closest()

For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.