jQuery 父后代 选择器
jQuery 教程
· 2019-03-10 10:26:29
实例
选取 <div> 元素的后代的所有 <span> 元素:
$("div span")
定义和用法
("parent descendant") 选择器选取指定元素的后代的所有元素。
元素的后代可以是元素的第一代、第二代、第三代等等。
语法
("parent descendant")
| 参数 | 描述 |
|---|---|
| parent | 必需。规定要选取的父元素。 |
| descendant | 必需。规定要选取的(指定父元素的)后代元素。 |
点击查看所有 jQuery 教程 文章: https://www.codercto.com/courses/l/35.html
Head Rush Ajax
Brett McLaughlin、Eric Freeman、Elisabeth Freeman / O'Reilly Media, Inc. / 2006-03-01 / USD 34.99
Ajax, or Asynchronous JavaScript and XML, is a term describing the latest rage in web development. Ajax is used to create interactive web applications with XML-based web services, and using JavaScript......一起来看看 《Head Rush Ajax》 这本书的介绍吧!