<script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js">
</script>
<script>
function sub(){
alert($("#aaa").val());
}
</script>
</head>
<body>
<select id="aaa">
  <option>Volvo</option>
  <option>Saab</option>
  <option>Mercedes</option>
  <option>Audi</option>
</select>
	<button id="aa" onclick="sub()">点击</button>
</body>
</html>

jquery的option的选择取值
jquery的option的选择取值

相关文章:

  • 2022-12-23
  • 2021-12-05
  • 2021-11-17
  • 2021-11-17
猜你喜欢
  • 2022-02-01
  • 2021-10-09
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案