asp.net.ph

Skip Navigation Links

disabled Property

styleSheet Properties   DHTML Object Properties


Retrieves whether a stylesheet specifies a title and is currently selected.

Syntax


HTML N/A
Script [ bDisabled = ] styleSheet.disabled

Possible Values


false The stylesheet is selected and applied.
true The stylesheet is not selected.

This property returns or accepts only a boolean value, meaning true if set, and false if not. The property is read/write with a default value of false.

Remarks

Modifying this attribute may cause a new resolution of style for the document. A stylesheet only applies if both an appropriate medium definition is present and the disabled attribute is false. So, if the media doesn't apply to the current user agent, the disabled attribute is ignored.

The value of this property can also change per media-dependent stylesheets. The application of individual stylesheets can be turned on and off dynamically. Note that the value of this property is also controlled by whether titled stylesheets are applied.

Applies To

styleSheet



>

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note