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