LI.value (Property)

A means of resetting an enumerator in an ordered list contained in an <OL> block.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:Number primitive
JavaScript syntax:-myLI.value

You may want to reset an enumerator in a list sequence. This allows you to start the list at zero or one or perhaps to split the list and continue enumerating items after a body of text has been interposed into the list.

Of course this property is meaningless in an unordered list and is only therefore useful when the <LI> tag and LI object are contained within an <OL> tag and its corresponding OL object.

See also:OL.start