var dropDownList = document.getElementById("ddl_sheng"); //获取DropDownList控件var dropDownListValue = dropDownList.options[dropDownList.selectedIndex].value; //获取选择项的值
本文共 214 字,大约阅读时间需要 1 分钟。
var dropDownList = document.getElementById("ddl_sheng"); //获取DropDownList控件var dropDownListValue = dropDownList.options[dropDownList.selectedIndex].value; //获取选择项的值
转载于:https://www.cnblogs.com/jkyweb/p/3216939.html