用JS如何獲得DropDownList所選Text和Value
用JS如何獲得DropDownList所選Text和Value?
Text
document.getElementById("DropDownListClientID").options[document.getElementById("DropDownListClientID").selectedIndex].text
Value
document.getElementById("DropDownListClientID").value

浙公网安备 33010602011771号