Closed vittoriomigliore closed 6 years ago
Error occurred when I tried to use jQuery selector syntax like:
li:not(.foo li)
I need to select elements that don't have a specified parent class How can I retrieve same result if :not selector doesn't work?
:not
Already tried it on site by console and it does work: $("li:not(.foo li)")
$("li:not(.foo li)")
Error occurred when I tried to use jQuery selector syntax like:
li:not(.foo li)
I need to select elements that don't have a specified parent class How can I retrieve same result if
:not
selector doesn't work?Already tried it on site by console and it does work:
$("li:not(.foo li)")