Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

getPropertyValue method

Gets the value of a Cascading Style Sheets (CSS) property if it is explicitly set within the current declaration block.

Document Object Model (DOM) Level 2 Style Specification, Section 2.2Internet Explorer 9

Syntax

object.getPropertyValue(bstrPropertyName)

Parameters

bstrPropertyName [in]

Type: String

The name of the CSS property.

Return value

Type: String

The value of the property if it is explicitly set for this declaration block, or null.

Standards information

See also

CSSStyleDeclaration
currentStyle
style
Reference
getPropertyPriority
item
length
removeProperty
setProperty

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.