MCQs > IT & Programming > JQuery > What is the main difference between the contents() and children() functions?

JQuery MCQs

What is the main difference between the contents() and children() functions?

Answer

Correct Answer: They both return the content of selected nodes, but contents() also includes text and comment nodes.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JQuery Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JQuery Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it