HTML DOM Radio disabled property
Examples
Example 1
Disable checkbox button:
<script>
document.getElementById("cats").disabled=true;
</script>
document.getElementById("cats").disabled=true;
</script>
Output:
try it"
Definition and Usage
disabled property sets or returns whether to disable radio button.
Disabled elements are neither available, nor click. You can set the disabled property until meet certain other conditions are met (such as selecting a checkbox, etc.).
grammar
Set the disabled property:
element .disabled=true|false
Return the disabled property:
element .disabled
Browser Support
All major browsers support disabled property
Radio Objects