The HTML DOM Input Image disabled Property is used to set or return the boolean value that represents an image field should be disabled or not. By default, the disabled elements are displayed in gray and are unusable and unclickable.
It returns the disabled property.
It is used to set the disabled property.
imageObject.disabled = true|false
Property values: This property accepts two parameter which are mentioned above and described below:
true: It specifies the image field is disabled.
false: It specifies the image field is not disabled.
Return value: It returns a boolean value i.e. true if the image field is disabled or false if the image field is not disabled.
Example 1: This example returns the value of disabled proper
Please Login to comment...