jQuery :not() Selector
Learn all about the jQuery function :not() Selector.
All selectors are accepted inside :not()
, for example: :not(div a)
and :not(div,a)
.
Additional Notes
The .not()
method will end up providing you with more readable selections than pushing complex selectors or variables into a :not()
selector filter. In most cases, it is a better choice.