jQuery [속성] 선택기
예시
id 속성이 있는 모든 요소를 선택하십시오.
$("[id]")
정의 및 사용
[속성] 선택자는 지정된 속성을 가진 각 요소를 선택합니다.
통사론
$("[attribute]")
Parameter | Description |
---|---|
attribute | Required. Specifies the attribute to find |
id 속성이 있는 모든 요소를 선택하십시오.
$("[id]")
[속성] 선택자는 지정된 속성을 가진 각 요소를 선택합니다.
$("[attribute]")
Parameter | Description |
---|---|
attribute | Required. Specifies the attribute to find |