MCQs > IT & Programming > JQuery > Which is correct to remove id attribute from all H2 elements with in the 'content' class?

JQuery MCQs

Which of the following is correct to remove id attribute from all H2 elements with in the "content" class?

Answer

Correct Answer: $(".content h2").removeAttr("id");

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