首页 > Linux操作系统 > Linux操作系统 > js 操作对话框列表
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/ ,如需转载,请注明出处,否则将追究法律责任。