:gt() selector

:gt() Selector

gt selector

Description: Select all elements at an index greater than index within the matched set.

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

    index: Zero-based index.

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

    indexFromEnd: Zero-based index, counting backwards from the last element.

    登录查看完整内容