jQuery :only-of-type 选择器
定义和用法
:only-of-type 选择器选择每个元素,该元素是其父元素中其类型唯一的子元素。
语法
$(":only-of-type")
:only-of-type 选择器选择每个元素,该元素是其父元素中其类型唯一的子元素。
$(":only-of-type")
If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
[email protected]
If you want to report an error, or if you want to make a suggestion, send us an e-mail:
[email protected]