Which jQuery method is used to get all direct children of the selected element?

93. Which jQuery method is used to get all direct children of the selected element?

  1. children()
  2. find()
  3. childrens()
  4. Both A. and B.

Answer: A) children()

Explanation:

jQuery method children() is used to get all direct children of the selected element.

Comments and Discussions!

Load comments ↻






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