li | NN 6 IE 4 DOM 1
The li object reflects the li element nested inside an ol or ul element.
HTML Equivalent
    <li>
Object Model Reference
    [window.]document.getElementById("elementID")
Object-Specific Properties
type | value
Object-Specific Methods
None.
Object-Specific Event Handler Properties
None.

type | NN 6 IE 4 DOM 1
| Read/Write
Indicates the manner in which the leading bullets, numbers, or letters of items in the list are displayed. Bullet styles are displayed when the li element is nested inside a ul element; numbers and letters are displayed for an ol element. If your script changes the type for a single li object, be aware that the change affects all subsequent li elements in the same list.
Example
    document.getElementById("instruxListItem3").type = "a";
    document.getElementById("point4").type = "square";
Value
For an ol style list, possible values are: A | a | I | i | 1. Sequencing is performed automatically as shown in the following table.
For a ul-style list, possible values are: circle | disc | square.
Type | Example
A | A, B, C, ...
a | a, b, c, ...
I | I, II, III, ...
i | i, ii, iii, ...
1 | 1, 2, 3, ...
Default
1 and disc (although values are empty unless the corresponding attribute is explicitly assigned).

value | NN 6 IE 4 DOM 1
| Read/Write
Indicates the number of the item within an ordered list. This property applies to an li element only when it is nested inside an ol element, and only when the corresponding attribute is explicitly assigned in the HTML code. The default value for unadjusted numbering is always 0 in IE and -1 in Netscape 6. If you set the value property of one item in the list, the following items continue the sequence from the new value. Modifying the property value does not adjust the rendered numbering.
Example
    if (document.getElementById("step5").value > 0) {
        ...
    }
Value
Integer.
Default
0 or -1.