gt

n.Guatemala Guatemala

jquery gt selector syntax

Function::gt selector selects elements whose index value is higher than the specified number. The index value starts from 0. Often used in conjunction with other elements/selectors to select elements after a specific number in a specified group (as in the example above).

Syntax:$(":gt(index)"

Parameters:index Required. Specifies the element to be selected. Will Select elements whose index value is greater than the specified number.


Note:Please use the :lt selector to select elements whose index value is less than the specified number.

jquery gt selector example

    

Welcome to My Web Page

Id LastName FirstName Address City
1 Adams John Oxford Street London
2 Bush George Fifth Avenue New York
3 Carter Thomas Changan Street Beijing
4 Obama Barack Pennsylvania Avenue Washington
Run instance »

Click the "Run instance" button to view the online instance