Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

length property

Retrieves the number of properties that are explicitly set on the parent object.

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

 

Syntax

JavaScript

p = object.length

 

Property values

Type: Integer

the number of properties that are explicitly set on the parent object. The range of valid property values is from 0 through length-1, inclusive.

Standards information

See also

CSSMediaList
CSSStyleDeclaration
currentStyle
imports
rules
style

 

 

Show:
© 2015 Microsoft