Javascript Reference
Categories: OL

javascript OL start

@March 15, 2008, 1:22 a.m.
startFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

Read/Write  

Indicates the starting number for the sequence of items in the ol element. This is convenient when a sequence of items must be disturbed by running body text. While the value is a number, the corresponding Arabic numeral, Roman numeral, or alphabet letter renders the value. When no value is set as an attribute, Netscape 6 defaults the property value to -1.

 
Example
 
document.getElementById("sublist2").start = 6;
 
Value

Integer.

 
Default

1 (IE); -1 (Netscape 6).


Powered by Linode.