:eq() selector

:eq() Selector

eq selector

Description: Select the element at index n within the matched set.

  • version added: 1.0jQuery( ":eq(index)" )

    index: Zero-based index of the element to match.

  • version added: 1.8jQuery( ":eq(-index)" )

    indexFromEnd: Zero-based index of the element to match, counting backwards from