.css()메소드로는 !important 는 적용이 안됩니다.
.attr('style','속성 !important')을 이용
[출처] jquery의 css !important 적용 : http://front8062.tistory.com/28
'jQuery' 카테고리의 다른 글
[jQuery] attr() 예제 (0) | 2018.06.17 |
---|---|
[jQuery] 요소 감싸기 - wrap(), wrapAll(), unwrap(), wrapInner() method (0) | 2018.06.17 |
[jQuery] substring 메서드 (0) | 2018.03.25 |
[jQuery] join() : 배열 합치기 (0) | 2018.03.03 |
[jQuery] 배열 정렬 및 역정렬 | sort(), reverse() (0) | 2018.03.03 |