用JS如何獲得DropDownList所選Text和Value

用JS如何獲得DropDownList所選Text和Value?
Text

document.getElementById("DropDownListClientID").options[document.getElementById("DropDownListClientID").selectedIndex].text


Value

document.getElementById("DropDownListClientID").value

posted @ 2009-02-22 14:34  瑞君  Views(192)  Comments(0)    收藏  举报