Javascript Reference
Categories: STYLE

javascript STYLE getPropertyPriority( )

@March 15, 2008, 1:22 a.m.
getPropertyPriority( )Firefox/Netscape/NN 6 IE 5(Mac) Chrome/Safari/DOM 2  

getPropertyPriority("CSSAttributeName")

  

Returns the string value of any priority (such as !important) associated with the inline CSS attribute.

 
Parameters
 
  • The CSS attribute name from an inline style declaration (not the DOM version of the property name).
 
Returned Value

String.


Powered by Linode.