jQuery :first 选择器
jQuery 教程
· 2019-03-10 06:44:21
实例
选取第一个 <p> 元素:
$("p:first")
定义和用法
:first 选择器选取第一个元素。
注意:这个选择器只用于选取单个元素。使用 :first-child 选择器选取多个元素(每个父元素一个)。
最常见的用法:与其他选择器一起使用,选取指定组合中的第一个元素(就像上面的实例)。
提示:如需选取指定组合中的最后一个元素,请使用 :last 选择器。
语法
$(":first")
点击查看所有 jQuery 教程 文章: https://www.codercto.com/courses/l/35.html
Cypherpunks
Julian Assange、Jacob Appelbaum、Andy Müller-Maguhn、Jérémie Zimmermann / OR Books / 2012-11 / GBP 8.99
Cypherpunks are activists who advocate the widespread use of strong cryptography (writing in code) as a route to progressive change. Julian Assange, the editor-in-chief of and visionary behind WikiLea......一起来看看 《Cypherpunks》 这本书的介绍吧!