JavaScript Reference/Javascript Properties/start ol

Материал из Web эксперт
Перейти к: навигация, поиск

"start" Example

   <source lang="javascript">
   

<html> <body>

  1. Item One
  2. Item Two
  3. Item Three
  4. Item Four
  5. Item Five

<button onclick="document.all.myList.start=12;">Set Start</button> </body> </html>


     </source>
   
  


"start" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+

| Applied_To |
    | +----------------+--------------------------------------------------------------+ </source>

    "start" Syntax and Note

       <source lang="javascript">
    

    Note: Read and write property.

    Sets the starting number for a
  1. element. Syntax: document.getElementById("olID").start = value document.all.olID.start = value // IE only </source>