MCQs > IT & Programming > JQuery > The code snippet: $('#table1 tr:odd').addClass('oddRow'); $('#table1 tr:even').addClass('evenRow'); The result of the above code snippet is ___.

JQuery MCQs

Consider the following code snippet:

$('#table1 tr:odd').addClass('oddRow');
$('#table1 tr:even').addClass('evenRow');

The result of the above code snippet is ___.


Answer

Correct Answer: the odd rows of table1 have evenRow class, while the even rows have oddRow class

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