what is the difference between parent() and parents() methods in jquery?
parent() selects one element up (single level up) the DOM tree. parents() method is similar to parent() but selects all the matching elements up the DOM tree. Begins from the parent element and travels up. Given a jQuery object that represents a set of DOM elements, the .