62,074
社区成员
发帖
与我相关
我的任务
分享
Value:
var selValue = document.getElementById("DropDownList1").options[document.getElementById("DropDownList1").selectedIndex].value;
Text:
var selText = document.getElementById("DropDownList1").options[document.getElementById("DropDownList1").selectedIndex].text