Question #147873

Which jQuery method is used to get the all ancestor elements of the selected element, all the way up to the document's root element (<html>)?


Options:

Explanation:
jQuery method parents() is used to get the all ancestor elements of the selected element, all the way up to the document's root element ().
Tags: jQuery

Test Your Knowledge

Want to practice more questions like this? Take a quiz in this category!

Take a Quiz

Share This Question