【jQuery/Selector #52】:only-of-type Selector 1. Description jQuery("only-of-type") 형제 Element가 없고, 태그명이 같고, 한 개만 존재하는 Element를 찾는다. 2. Example #1버튼을 클릭하면 태그 내에 있는 Element들 중에서, 태그명을 기준으로하여 한 개 뿐인 Element를 찾아 배경색을 변경한다. 버튼을 클릭할 때마다 스타일이 토글된다. JavaScript/jQuery 2023.03.15