Name
CSSPrimitiveValue.getStringValue( ) — query a CSS string value
Availability
DOM Level 2 CSS
Synopsis
String getStringValue( ) throws DOMException;
Returns
The string value of this CSSPrimitiveValue.
Throws
This method throws a DOMException with a code
of
INVALID_ACCESS_ERR
if the
primitiveType
property is not
CSS_STRING
, CSS_URI
,
CSS_IDENT
, or CSS_ATTR
.
Get JavaScript: The Definitive Guide, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.