MCQs > IT & Programming > JQuery > How would you disable an HTML button element with id myButton?

JQuery MCQs

How would you disable an HTML button element with id myButton?

Answer

Correct Answer: $(‘#myButton’).prop(‘disabled’, true);

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