ZVON > References > DOM2 Reference

getPropertyPriority (method )

Owning interface and usage:  
CSSStyleDeclaration.getPropertyPriority(propertyName)

Member of these other interfaces:  
none

Description:  
Used to retrieve the priority of a CSS property (e.g. the "important" qualifier) if the priority has been explicitly set in this declaration block.

Parameters:  
DOMString propertyName  -  The name of the CSS property. See the CSS property index.

Returns:  
DOMString -  A string representing the priority (e.g. "important") if the property has been explicitly set in this declaration block and has a priority specified. The empty string otherwise.

Exceptions:  
none