Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: How to disable an HTML object?
Answer: document.getElementById("myObject").disabled = true;
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook