Open In App

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

Which jQuery attribute is used to select each element that doesn’t have the specified attribute and value?
(A) $(“[attribute@=’value’]”)
(B) $(“[attribute$=’value’]”)
(C) $(“[attribute!=’value’]”)
(D) $(“[attribute|=’value’]”)

Answer: (C)
Explanation: The [attribute!=value] selector in jquery is used to select each element that doesn’t have the specified value and the attributes It takes two-parameter attribute and value where attribute demonstrates that it is required to specify to be searched and value demonstrated that it is required to specify a value to be searched.
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :