Javascript取select的选中值和文本
var select = document.getElementById("selectType");
var index = select.selectedIndex;
var text = select.options[index].text;
var value = select.options[index].value;
本文来自博客园,作者:古道轻风,转载请注明原文链接:https://www.cnblogs.com/88223100/archive/2009/03/09/1407204.html

浙公网安备 33010602011771号