请问下拉菜单中选项的文本内容如何获得? selectName.options[index].value....selectName.options[index].text.... 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 document.formname.selectname.options[document.formname.selectname.selectedindex].value 写错了:document.formname.selectname.options[document.formname.selectname.selectedIndex].valuedocument.formname.selectname.options[document.formname.selectname.selectedIndex].text 用[document.formname.selectname.selectedIndex].text 遍历一个json数组加json对象的字符串 jquery dialog 无法关闭 为何xmlhttp.readyState始终是 1 在FIREFOX中怎样不让用户选择页面中的内容? 用showModelessDialog打开的窗口怎么修改网页标题啊? 怎么使右上角关闭按扭无效 怎么实现这个特效? 怎样在客户端把excel文件内容导入到页面的form中? 怎样过30秒钟后自动执行指定的JavaScript程序? 谁有关于utf编码的算法描述.我这里只有实现代码 如何实现预先设定打印纸的类型,以后不论抵换何种打印机都会自动使用预设的打印纸 请问下拉菜单中选项的文本内容如何获得?
document.formname.selectname.options[document.formname.selectname.selectedIndex].valuedocument.formname.selectname.options[document.formname.selectname.selectedIndex].text