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

查看所有标签

Understanding Machine Learning

Understanding Machine Learning

Shai Shalev-Shwartz、Shai Ben-David / Cambridge University Press / 2014 / USD 48.51

Machine learning is one of the fastest growing areas of computer science, with far-reaching applications. The aim of this textbook is to introduce machine learning, and the algorithmic paradigms it of......一起来看看 《Understanding Machine Learning》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具