Open In App

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

Like Article
Like
Save
Share
Report

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


Last Updated : 20 Sep, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads