Which of the following is a jQuery method to get the parent element of an element?
A. getParent()
B. parent()
C. ancestor()
D. ancestors()
Answer:B
Which of the following is a jQuery method to get the parent element of an element?
A. getParent() B. parent() C. ancestor() D. ancestors()