$(".test").first();
$(".test").eq(0); // 첫번째 요소
$(".test").last();

'javascript, jquery' 카테고리의 다른 글

찾기 - find  (0) 2014.10.02
필터 - slice / filter / not  (0) 2014.10.02
바꾸기 - replaceWith  (0) 2014.10.02
요소이동 - parent / children / prev / next  (0) 2014.10.02
마우스 오버.아웃 - hover  (0) 2014.10.02
블로그 이미지

디츠

“말은 쉽지, 코드를 보여줘.” “Talk is cheap. Show me the code.” – 리누스 토르발스(Linus Torvalds)

,