Home »
MCQs »
jQuery MCQs
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?
- children()
- find()
- childrens()
- Both A. and B.
Answer: A) children()
Explanation:
jQuery method children() is used to get all direct children of the selected element.