style.counterIncrement (Property)

A means of controlling the way that counters in enumerated items are to be incremented when they are used in the document.

Availability:

DOM level - 2
JavaScript - 1.5
JScript - 5.0
Internet Explorer - 5.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myStyle.counterIncrement
CSS syntax:counter-increment: aValue
Argument list:aValueAn incrementing value for the counter

The value specified in this property is added to the counter as it is enumerated in an ordered list.

See also:style.listStyle, style.listStyleType