| |||||||||||||||
getExpression MethodDOM Level 2 Specification. Retrieves the expression for the given CSS property. SyntaxvExpression = object.getExpression ( sPropertyName ) Parameters
Return ValueVariant. Returns a variant value representing the expression of the property. RemarksThe getExpression method applies to the style object and can be used to return expressions set on supported CSS Attributes. This method is also available in scripting for the innerHTML and value attributes. Using getExpression in script: var sExpr = object.getExpression ( sProperty ) Using getExpression on a style: var sExpr = object.style.getExpression ( sProperty ) This method is Microsoft's® implementation of the generic getPropertyValue interface provided for in the DOM. ExampleThe following sample code illustrates the implementation for getExpression. The para1 paragraph's width is set equal to the sum of two images' widths. The getExpression method will return a variant containing the expression. See AlsoDynamic Properties, recalc, removeExpression, setExpression |
| ||||||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme