-
[js&jQuery] 자바스크립트 클래스값 체크하기programming/JavaScript&jQuery 2019. 12. 26. 00:00반응형
JavaScript This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters<input id="test1" class="test1 test2 test3"> 클래스 값 존재 여부
hasClass()
클래스 값 가져오기
attr("class")
반응형'programming > JavaScript&jQuery' 카테고리의 다른 글
[JavaScript] 자바스크립트 숫자 체크(isNaN) (0) 2020.04.02 [Js&jQuery] remove on event / on 이벤트 없애기 (0) 2020.02.24 [JavaScript] 한글 keypress 이벤트 작동 안함 (0) 2019.12.21 [JavaScript] js 인터넷 연결 확인 (online) (0) 2019.12.11 [JavaScript] ES2015 백틱(`)과 템플릿 문자열 (0) 2019.11.22