用脚本语言如何得到在select中被选中的选项的value和text
2007-01-31 16:21
525 查看
用脚本语言如何得到在select中被选中的选项的value和text
document.formName.listName.options[document.formName.listName.selectedIndex].value
document.formName.listName.options[document.formName.listName.selectedIndex].text
document.formName.listName.options[document.formName.listName.selectedIndex].value
document.formName.listName.options[document.formName.listName.selectedIndex].text
相关文章推荐
- 如何获得select被选中option的value和text和其他属性值
- 如何获得select被选中option的value和text和......
- 如何获得select被选中option的value和text
- 如何获得select被选中option的value和text
- jquery 获取下拉框 某个text='xxx'的option的属性 非选中 如何获得select被选中option的value和text和......
- asp中select(下拉菜单)如何同时获取value和text的值
- web 获取select中被选中option的value和text
- 如何获取select中的value、text、index相关值 && 如何获取单选框中radio值 && 触发事件 && radio 默认选中
- jQuery操作Select获取被选中的Text和Value
- jQuery获取Select选择的Text和Value
- CSS+HTML实例集合四,checkbox多选框的操作(全选等),select获取option的value和其对应的选项,select获取选中项的value值进行设置,select的二级联动菜单
- select标签如何传递选中option的value值与text值
- 17_Shell语言―――如何在shell 脚本中进行算术运算
- jQuery获取Select选择的Text和 Value(转)
- jQuery获取Select选择的Text和Value
- Unity3d中如何混用三种脚本语言?
- 在Bash shell脚本编程中,如何正确无误获取到“脚本选项参数”和“脚本参数”呢? 推荐
- jquery中如何获取同一组radio中被选中的value
- jQuery获取Select选择的Text和 Value(转)
- jQuery获取Select选择的Text和Value(详细汇总)