MCQs > IT & Programming > JQuery > Given the following HTML, how could we use one line to hide or show the button?

JQuery MCQs

Given the following HTML, how could we use one line to hide or show the button?

Answer

Correct Answer: $('.btn-primary').toggle();

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JQuery Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JQuery Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it