| selectedIndex | ใช้ในการคืนค่า ลำดับที่ ( index ) ของ option ที่ถูกเลือกอยู่ |
|---|
property:selectedIndex;
return type:number
content:ใช้ในการคืนค่า ลำดับที่ ( index ) ของ option ที่ถูกเลือกอยู่
example:var tagSelect = document.getElementById ( "bamboo" ); alert ( tagSelect.selectedIndex );