Fork me on GitHub
代码改变世界

获取下拉框的值

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

守望者舆情监控

守望者舆情监控系统