Which jQuery method is used to get the all ancestor elements between two given arguments?

90. Which jQuery method is used to get the all ancestor elements between two given arguments?

  1. parent()
  2. parents()
  3. parentsUntil()
  4. All of the above

Answer: C) parentsUntil()

Explanation:

jQuery method parentsUntil() is used to get the all ancestor elements between two given arguments.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.