Checkbox Object
Disable a checkbox:
The result will be:
The disabled property sets or returns whether a checkbox is disabled, or not.
A disabled element is unusable and un-clickable. Disabled elements are usually rendered in gray by default in browsers.
Set the disabled property:
Return the disabled property:
![]()
The disabled property is supported in all major browsers.
Checkbox Object
Your message has been sent to W3Schools.