How to ignore multiple classes using the :not selector?

后端 未结 2 1863
挽巷
挽巷 2020-12-08 09:04

I have this selector below where it ignores any li with the class show-all-boxes

$(\'.boxes li:not([class=\"show-all-boxes\"])         


        
2条回答
  •  情歌与酒
    2020-12-08 09:51

    try this :

    $('.boxes li').not(".show-all-boxes, .show-all-circles, .show-all-triangles").find('input:checkbox')
    

提交回复
热议问题