Answers

Question and Answer:

  Home  JavaScript

⟩ How to disable an HTML object?

To disable an HTML object in JavaScript use below line of code...

document.getElementById("myObject").disabled = true;

 175 views

More Questions for you: