matthewmueller / x-ray

The next web scraper. See through the <html> noise.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

:not selector

vittoriomigliore opened this issue · comments

Error occurred when I tried to use jQuery selector syntax like:

li:not(.foo li)

  • version of node: v7.10.0
  • version of npm: 4.2.0

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)")