This is part of the MSIE support for managing behaviors. With this method, you can access the value of an expression that was previously defined with the setExpression() method or which is defined within a style rule.
The rules that are used to construct a style are comprised of multiple expressions. You can use this method to extract the value of an expression from a style item.
Given the rule might contain a line such as:
width:200px
The getExpression() method can be applied to the style object containing the rule with that expression like this:
myStyle.getExpression("width:")
The value 200px would be returned.
Prev | Home | Next |
style.getAttribute() | Up | style.height |
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. |