'index' Syntax and Note : index : Javascript Properties : JavaScript Reference examples (example source code) Organized by topic

JavaScript Reference
C++
PHP
JavaScript Reference Home »  Javascript Properties   » [  index  ]   
 



'index' Syntax and Note

Note:

Read and write property. 
Specifies the index number of <option> in a <select>.
    
Syntax:
    
document.getElementById("optionID").index = value
document.all.optionID.index = value // IE only

    

      
      
Related examples in the same category
1.  'index' Example
2.  'index' is applied to
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.