会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
代码改变世界
Cnblogs
Dashboard
Login
Home
Contact
Gallery
Subscribe
RSS
build code
工作中 开发琐事 随笔快记!
获取下拉框的值
2012-11-06 11:38
freefei
阅读(
225
) 评论(
0
)
收藏
举报
[php] var ddl = document.getElementById("ddlBusCode"); var index = ddl.selectedIndex; alert(index);// var Value = ddl.options[index].value; alert(Value); [/php]
刷新页面
返回顶部
About
@ https://github.com/ranmufei