Although the !important style attribute is supported in CSS style sheets used by MSIE and Netscape 6.0, there is apparently no access to it from JScript at this time. If there were, then syntax rules for JavaScript would preclude the use of the exclamation mark as a part of the identifier name for the property so it would most likely be called simply style.important.
Although there are no values assigned to this style attribute in the CSS style sheet, it is likely that it would be a Boolean value if it were accessible from JScript.
Prev | Home | Next |
style.imeMode | Up | style.item() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |