<script language="javascript">
function show(){
var sel = document.forms["form1"].s1;
var s = "";
for(var i=0;i<sel.options.length;i++){
if(sel.options[i].selected) s += sel.options[i].innerText + ",";
}
if(s!="") s = s.substr(0,s.length-1);
alert(s);
}
</script>
转自:http://www.okajax.com/a/201106/select.html

相关文章:

  • 2021-09-16
  • 2021-08-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-03
  • 2022-12-23
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2023-03-22
相关资源
相似解决方案