x
 
<!DOCTYPE html>
<html>
<body>
请选择您喜欢的车:
<br><br>
<select id="mySelect" size="4">
  <option label="Volvo">沃尔沃</option>
  <option label="Saab">萨博</option>
  <option label="Mercedes">奔驰</option>
  <option label="Audi">奥迪</option>
</select>
<p>单击该按钮可返回所选汽车的 label 值。</p>
<button type="button" onclick="myFunction()">试一试</button>
<script>
function myFunction() {
  var x = document.getElementById("mySelect").selectedIndex;
  alert(document.getElementsByTagName("option")[x].label);
}
</script>
</body>
</html>