⟩ How to get a set of elements containing the closest parent element that matches the specified selector, the starting element included using jQuery?
The closest( selector ) method gets a set of elements containing the closest parent element that matches the specified selector, the starting element included.