jQuery: gt () selector
Definition and Usage
: Gt () selector select index value greater than the specified number of elements.
index value starts from zero.
The most common usage: used in conjunction with other selectors, select a specific combination of elements specified number after (as the example above).
Tip: Use : lt selector to select the index value is less than the specified number of elements.
grammar
$(":gt(index)")
参数 | 描述 |
---|---|
index | 必需。规定要选择的元素。 会选取 index 值大于指定数字的元素。 |