javascript里面怎么获取下拉框的参数
代码详情
function myfunction(){
var select = document.getElementById("select");
var index = select.selectedIndex;
var value = select.options[index].value;
alert(value);
}
javascript里面怎么获取下拉框的参数
代码详情
function myfunction(){
var select = document.getElementById("select");
var index = select.selectedIndex;
var value = select.options[index].value;
alert(value);
}