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?

  1. $("tr::odd")
  2. $("tr.odd")
  3. $("tr:odd")
  4. $("tr:#odd")

Answer: C) $("tr:odd")

Explanation:

The $("tr:odd") selector is used to select all odd table rows.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.