Which jQuery method filters elements?
-
A
filter()
Correct answer
-
B
select()
-
C
find()
-
D
search()
Correct answer
A. filter()
15 views
Explanation
The filter() method reduces the set of matched elements to those that match the selector or pass function test.
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ