jQuery Intro

jQuery Intro Quiz

jQuery Intro Exercise

jQuery Basic

jQuery Basic Quiz

jQuery Basic Exercise

jQuery Advance

jQuery Advance Quiz

jQuery Advance Exercise

jQuery Selectors

jQuery Effects

jQuery Events

jQuery Methods and Properties

jQuery Traversing

jQuery CSS and HTML Methods

jQuery not() Method

jQuery not() Method



The not() method is used to return elements that do not match certain criteria. We can specify the criteria. Those elements are returned for selection which do not match the criteria and those that match the criteria will be removed. It is the opposite of the filter() method.




Its syntax is:- $(selector).not(criteria, function(index))


Further Explanation:-


Parameter Description
criteria Optional. Specifies a selector expression, a jQuery object, or one or more elements to be removed from a group of selected elements.
function(index) Optional. Specifies a function to run for each element in a group.
  • index - The index position of the element in the set

Code Explanation

All Tutorials related to jQuery Traversing

All Sections related to jQuery