Reset disabledProperty
Reset Object
Examples
Example 1
Disable the reset button:
<script>
document.getElementById("rst").disabled=true;
</script>
document.getElementById("rst").disabled=true;
</script>
Output:
Try it Yourself »
Definition and Usage
The disabled property sets or returns whether the reset button is disabled.
Disabled elements are neither usable nor clickable. You can set the disabled attribute until some other condition is met (for example, a checkbox is selected, etc.).
Syntax
Set the disabled property:
element.disabled=true|false
Return the disabled property:
element.disabled
Browser Support
![]()
![]()
![]()
![]()
![]()
All major browsers support the disabled property
Reset Object Other Extensions