HTML code:
<select id = "menu">
<option value="2017">2017</option>
<option value="2016">2016</option>
<option value="2015">2015</option>
</select>
我尝试过:
document.getElementById("menu").selectedIndex = 2015;
答案 0 :(得分:0)
document.getElementById("menu").value = 2015;