js获取服务器控件DropDownList所选中的各项属性

        var ddl = document.getElementById("DropDownList1");
        alert(ddl.selectedIndex);//选择索引值
        alert(ddl.options[ddl.selectedIndex].value);//绑定值
        alert(ddl.options[ddl.selectedIndex].text);//文本值    
原文地址:https://www.cnblogs.com/vinsonLu/p/3969891.html