jQuery :only-child 选择器
定义和用法
:only-child 选择器选择每个作为其父元素唯一子元素的元素。
语法
$(":only-child")
:only-child 选择器选择每个作为其父元素唯一子元素的元素。
$(":only-child")
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]