ITPub博客

首页 > Linux操作系统 > Linux操作系统 > js 操作对话框列表

js 操作对话框列表

原创 Linux操作系统 作者:cdy0113 时间:2009-12-11 16:22:26 0 删除 编辑

js 取对话框列表中选中的值

var field=document.forms[0].field;

var fieldselectedtext=field.options[field.selectedIndex].text;

var fieldselectedvalue=field.options[field.selectedIndex].value;

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22885108/viewspace-622238/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-11-16

  • 博文量
    50
  • 访问量
    126923