The jquery filtering methods is used for the purpose for specifying the criteria, Those elements didn't matched with the criteria it will illuminate from the selection while the matched elements will be returned.
It has multiple methods like eq(index), slice(), filter(), has(), first() and last().
A brief introduction about all these methods are:-
1. eq(index) Method:-
This method returns an element with a specific index number of the selected elements, first index number is always "zero". it is also used for the purpose of reducing the set of matched elements to the specified index value.