Open In App

Web technologies Questions | jQuery Quiz | Set-2 | Question 3

How to find the current selection against an expression in jQuery ?
(A) getIs( selector )
(B) findls( selector )
(C) is( selector )
(D) None of the above

Answer: (C)
Explanation: It is a pseudo-class selector that takes the list as an argument and selects any element that can be selected as any one of its lists The is(selector) in jQuery is used to find the current selection against an expression of the element and it returns a Boolean value if any element finds that suit then it returns a true value.
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :