Front/JS & jQuery
[jQuery] .not()
오선지♬
2023. 4. 18. 19:32
728x90
반응형
https://www.codingfactory.net/10333
jQuery / Method / .not() - 선택한 요소 중 특정 선택자를 제외한 요소를 선택하는 메서드
.not() .not()은 선택한 요소 중 특정 선택자를 제외한 요소를 선택합니다. 문법 .not( selector ) 예를 들어 $( 'p' ).not( 'p.abc' ).css( 'color', 'green'); 은 p 요소 중 abc를 클래스 값으로 가지지 않은 것을 선택
www.codingfactory.net
728x90
반응형