JavaScript如何获得Select下拉框选中的值时间:2023-03-09 17:00:43 js代码: var mySelect = document.getElementById("resultList2"); var mySelectText = mySelect.options[mySelect.selectedIndex].text; html代码: <select id="resultList2" disabled="disabled"> <option>1</option> <option>2</option> <option>3</option> </select>