top button
Flag Notify
Site Registration

What are filters in Jquery? What is the use?

0 votes
91 views
What are filters in Jquery? What is the use?
posted May 31, 2018 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

The filter() method returns elements that match a certain criteria.
This method lets you specify a criteria. Elements that do not match the criteria are removed from the selection, and those that match will be returned.This method is often used to narrow down the search for an element in a group of selected elements.

$(selector).filter(criteria,function(index))
answer Jun 29, 2018 by Amarvansh
...