Correct Answer: use .hasClass()
Explanation:
Note: This Question is unanswered, help us to find answer for this one
JQuery Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More JQuery MCQ Questions
Which function is used to make a copy of a selected element?
Where does jQuery code run?
What is jQuery used for?
What is the difference between searching 'find()' and 'children()'
What method is used to switch between adding/removing one or more classes (for CSS) from selected elements?
Given the following HTML, how could we use one line to hide or show the button?Continue to checkout
What does the following line of code do? jQuery('p')
Which jQuery method can be used to make an ajax call?
Which is a single global function defined in the jQuery library?
Which will get the first column of all tables using jQuery?