Disable the linked document:
The disabled property sets or returns whether the linked document is disabled, or not.
This property is currently only used with style sheet links.
When set to true, the linked style sheet will not have any effect.
The disabled property is supported in all major browsers.
Return the disabled property:
Set the disabled property:
Value | Description |
---|---|
true|false |
Specifies whether the linked document is disabled or not
|
Return Value: | A Boolean, returns true if the linked document is disabled, otherwise it returns false |
---|
Find out if the linked document is disabled or not:
The result of x will be: