본문 바로가기
Front/Jquery

.attr()

by 태하팍 2012. 8. 6.
반응형

참고 사이트 : http://api.jquery.com/attr/

Description: Get the value of an attribute for the first element in the set of matched elements.

The .attr() method gets the attribute value for only the first element in the matched set. To get the value for each element individually, use a looping construct such as jQuery's .each() or .map() method.



[소스]


This Test is very Simple Test! We have to Study Hard :D

This is Test..What kind of Tests? :

반응형

'Front > Jquery' 카테고리의 다른 글

.ready()  (0) 2012.08.06
.draggable()  (0) 2012.08.06