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?

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

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

Explanation:

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

Comments and Discussions!

Load comments ↻






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