jQuery :root 选择器
-
定义和用法
:root 选择器选取文档的根元素。在 HTML 中,根元素总是 <html> 元素。 -
语法
$(":root") -
参数
参数 必需的 描述 该选择器没有任何参数 -
-