freefei

获取下拉框的值

2012-11-06 11:38  freefei  阅读(172)  评论(0编辑  收藏  举报
[php] var ddl = document.getElementById("ddlBusCode"); var index = ddl.selectedIndex; alert(index);// var Value = ddl.options[index].value; alert(Value); [/php]

分类:

技术点:

相关文章:

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