반응형 JQuery API 따라잡기1 JQuery API 따라잡기 : Class 객체 찾기 - .hasClass () jQuery에서 Class 객체 찾기 - .hasClass () 원문 : http://api.jquery.com/hasClass/ 설명 : 일치하는 요소 중 하나가 주어진 클래스를 할당 여부를 결정합니다. .hasClass() 함수는 클래스명이 일치하는 것이 있을 경우 리턴값으로 true, false 를 반환합니다. 소스보기 This paragraph is black and is the first paragraph. This paragraph is red and is the second paragraph. First paragraph has selected class: Second paragraph has selected class: At least one paragraph has selected cla.. 2014. 2. 25. 이전 1 다음 반응형