filter

UK[ˈfɪltə(r)] US[ˈfɪltɚ]

n. Filter; light filter; color filter; [化] filter

vi.Filter; penetrate; penetrate

vt.Filter; filter out

jquery filter() method syntax

Function:The filter() method reduces the set of matching elements to elements matching the specified selector.

Syntax:.filter(selector)

Parameters:

Parameter Description
selector String value, containing the selector expression for matching the current set of elements.

Description:If a jQuery object representing a collection of DOM elements is given, the .filter() method will construct a new one with a subset of matching elements. jQuery object. The selector used tests each element; all elements matching the selector are included in the result.

jquery filter() method example

     
Run instance »

Click the "Run instance" button to view the online instance