jQuery parent > child 选择器
jQuery 教程
· 2019-03-10 10:11:28
实例
选取 <div> 元素的直接子元素的 <span> 元素:
$("div > span")
定义和用法
("parent > child") 选择器选取指定元素的直接子元素的所有元素。
语法
("parent > child")
| 参数 | 描述 |
|---|---|
| parent | 必需。规定要选取的父元素。 |
| child | 必需。规定要选取的直接子元素(属于指定的父元素)。 |
点击查看所有 jQuery 教程 文章: https://codercto.com/courses/l/35.html
The Art of Computer Programming, Volume 3
Donald E. Knuth / Addison-Wesley Professional / 1998-05-04 / USD 74.99
Finally, after a wait of more than thirty-five years, the first part of Volume 4 is at last ready for publication. Check out the boxed set that brings together Volumes 1 - 4A in one elegant case, and ......一起来看看 《The Art of Computer Programming, Volume 3》 这本书的介绍吧!
随机密码生成器
多种字符组合密码
Markdown 在线编辑器
Markdown 在线编辑器