javascript styleSheet title
| title | NN 6 IE 4 DOM 2 |
| Read/Write | |
|
Exposes the title attribute of the style or link element that owns the current styleSheet object. Since the attribute does not affect user interface elements (the elements are unrendered, and thus don't show tool tips), it is available to convey other string information to the styleSheet object under script control. |
|
| Example | |
if (document.styleSheets[2].title == "corpStyleWindows") {
// process for the designated style
}
|
|
| Value | |
String value. |
|
| Default | |
Empty string. |
|
Previous: javascript styleSheet type
1960,Nickname,Homepage or email,Comments here,Add comment
