jq
api
jQuery
API
Toggle navigation
:only-of-type
选择器
API首页
选择器
:only-of-type
:only-of-type
返回值:jQuery
V1.9
概述
选择所有没有兄弟元素,且具有相同的元素名称的元素。
如果父元素有相同的元素名称的其他子元素,那么没有元素会被匹配。