Which jQuery method is used to hide an element?
-
A
remove()
-
B
hide()
Correct answer
-
C
displayNone()
-
D
conceal()
17 views
Explanation
The hide() method in jQuery is used to hide matched elements by setting their display to none.
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ