<script language="javascript">
 function chk(){
  var obj = document.getElementById("sel");
  var strsel = obj.options[obj.selectedIndex].text;
  if (confirm("确定要选择"+strsel+"吗?")){

  }else{

  }
 }
</script>
<select name="sel" onchange="return chk()">
 <option value=1>a001</option>
 <option value=2>a002</option>
 <option value=3>a003</option>
</select>

相关文章:

  • 2022-12-23
  • 2021-12-05
  • 2021-06-22
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
  • 2021-06-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-12
  • 2021-12-16
  • 2022-12-23
相关资源
相似解决方案