How to disable an HTML object

Q

How to disable an HTML object

✍: Guest

A

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

2011-02-15, 3737👍, 0💬