JavaScript Reference/Javascript Properties/start ol
Версия от 18:30, 25 мая 2010; (обсуждение)
"start" Example
<html>
<body>
<ol id="myList">
<li>Item One</li>
<li>Item Two</li>
<li>Item Three</li>
<li>Item Four</li>
<li>Item Five</li>
</ol>
<button onclick="document.all.myList.start=12;">Set Start</button>
</body>
</html>
"start" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<ol> |
+----------------+--------------------------------------------------------------+
"start" Syntax and Note
Note:
Read and write property.
Sets the starting number for a <li> element.
Syntax:
document.getElementById("olID").start = value
document.all.olID.start = value // IE only