2010-04-19 5 views

답변

2

(죄송합니다 ... 내 편집하기 전에 .value 넣어 대신 사고는 .text 8 -) ...)

this.options[this.selectedIndex].text 
0
//assuming "this" is the select element 
if (this.selectedIndex >= 0) { 
    this.options[this.selectedIndex].text = "some text"; 
} 
관련 문제