Description: For each element in the set, get the first elements that match the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
Description: For each element in the set, get the first elements that match the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
an Elements (which may be empty)
http://api.jquery.com/closest/
Description: 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.
Description: 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.
a Some containing the first one found, or None
http://api.jquery.com/closest/