select联动获取option值

阿小仔 2019-04-15 06:43:51
select联动获取option值
描述:VS2015中aspx文件中写了三级联动,使用的是<select
现在想在click事件中,获取联动后(也就是option的text值)的select的值,this.institute.Items[institute.SelectedIndex].Value 之类的没用
...全文
301 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
麦草CMS 2019-04-15
  • 打赏
  • 举报
回复
function chooseInstitute(elem){
elem.options[elem.selectedIndex].value//更多代码

}
麦草CMS 2019-04-15
  • 打赏
  • 举报
回复
this.institute.Items[institute.selectedIndex]
大小写

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧