jQuery :not() Selector
jQuery :not() Selector
The :not() selector is used to select all elements except the specified element. It is used with other selectors to select everything except the specified element in a group.
Syntax:-
Its syntax is:- $(":not(selector)");
Further Explanation:-
Parameter | Description |
---|---|
selector | Required. Specifies the element to not select. |