获取下拉框的值

[php] var ddl = document.getElementById("ddlBusCode"); var index = ddl.selectedIndex; alert(index);// var Value = ddl.options[index].value; alert(Value); [/php]
原文地址:https://www.cnblogs.com/freefei/p/3234962.html