Mega Code Archive

 
Categories / JavaScript Reference / Javascript Properties
 

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