| index | ใช้คืนค่าลำดับที่ ( index ) ของ option |
|---|
property:index;
return type:number
object:option
content:ใช้คืนค่าลำดับที่ ( index ) ของ option
example:var tagSelect = document.getElementById ( "bamboo" ); for ( var i=0; i<tagSelect.length; i++ ) { alert ( tagSelect.options.item(i).index ); }