Web/JavaScript

[jQuery] Attribute Equals Selector [name="value"]

opid 2013. 7. 16. 10:11

원문 링크 : http://api.jquery.com/attribute-equals-selector/


 attributeEquals selector


Description: Selects elements that have the specified attribute with a value exactly equal to a certain value.

명시된 속성(attribute)이 정확히 어떤 값(value)과 동일한 요소(element)를 찾아 준다.


 jQuery("[attribute='value']") 

 attribute: 태그의 속성.

 value: 속성의 값. 


추후 소스코드 추가