I have been using jQuery for a while. I wanted to use the
closest()selects the first element that matches the selector, up from the DOM tree.
parent()selects one element up the DOM tree.
parents()method is similar to
parent()but selects all the matching elements up the DOM tree.