가능한 중복 모든 요소를 선택합니까 : 나는 정의 된 클래스가없는 모든 요소를 선택해야
jQuery get all divs which do not have class attribute는 어떻게 더 클래스
. JQuery로 어떻게 할 수 있습니까?
가능한 중복 모든 요소를 선택합니까 : 나는 정의 된 클래스가없는 모든 요소를 선택해야
jQuery get all divs which do not have class attribute는 어떻게 더 클래스
. JQuery로 어떻게 할 수 있습니까?
$(':not([class])')
, 그들은 클래스가없는 경우이 또한 html, body, head
을 선택합니다 유의하십시오.
용도는 무엇입니까? –
'* : not ([class])' – Musa
':)'[jQuery 클래스 속성을 가지고 있지 않은 모든 div를 얻는다.] (http://stackoverflow.com/questions/1962247/jquery-get-all- divs-do-have-have-class-attribute) ** 또는 ** http://stackoverflow.com/questions/2715330/jquery-how-to-find-elements-without-a-class-set ** 또는 ** –