MCQs > IT & Programming > JQuery > The code snippet: $('#table1').find('tr').filter(function(index) { return index % 3 == 0}).addClass('firstRowClass'); The result of the above code snippet is ___.

JQuery MCQs

Consider the following code snippet:

$('#table1').find('tr').filter(function(index) { return index % 3 == 0}).addClass('firstRowClass');

The result of the above code snippet is ___.


Answer

Correct Answer: the rows of table1 at order 3n + 1 (n = 0, 1, 2,...) have class firstRowClass

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