Home > parent()

jQuery: Difference between parent(), parents() and parentsUntil() methods.

Definition: parent() – Use this method to get direct parent element of the current selected element. parents() – Use this method to get all parent elements of the current selected element. parentsUntil() – Us this method to get all ancestor elements between the selector and the parameter you have selected in the parentsUntil()

This Article is TAGGED in , , , . Read more