📌  相关文章
📜  如何在javascript代码示例中获取选定的列表项值

📅  最后修改于: 2022-03-11 15:02:58.607000             🧑  作者: Mango

代码示例1
var as = document.form1.ddlViewBy.value;
var e = document.getElementById("ddlViewBy");
var strUser = e.options[e.selectedIndex].value;