hasClass()

선택한 요소에 클래스가 있는지 확인합니다.

1. 문법

$("선택자").hasClass("클래스이름");

Last updated

Was this helpful?