Home »
MCQs »
jQuery MCQs
Which is the correct jQuery selector to select all even table rows?
26. Which is the correct jQuery selector to select all even table rows?
- $("tr::even")
- $("tr.even")
- $("tr:even")
- $("tr:#even")
Answer: C) $("tr:even")
Explanation:
The $("tr:even") selector is used to select all even table rows.