jQuery :lt() 选择器
jQuery 教程
· 2019-03-10 11:42:06
实例
选取前 4 个 <tr> 元素:
$("tr:lt(4)")
定义和用法
:lt() 选择器选取 index 值小于指定数字的元素。
index 值从 0 开始。
最常见的用法:与其他选择器一起使用,选取指定组合中特定序号之前的元素(如上面的实例)。
提示:请使用 :gt selector 来选取 index 值大于指定数字的元素。
语法
$(":lt(index)")
| 参数 | 描述 |
|---|---|
| index | 必需。规定要选择的元素。 会选取 index 值小于指定数字的元素。 |
点击查看所有 jQuery 教程 文章: https://www.codercto.com/courses/l/35.html
Algorithms on Strings, Trees and Sequences
Dan Gusfield / Cambridge University Press / 1997-5-28 / USD 99.99
String algorithms are a traditional area of study in computer science. In recent years their importance has grown dramatically with the huge increase of electronically stored text and of molecular seq......一起来看看 《Algorithms on Strings, Trees and Sequences》 这本书的介绍吧!