现在的位置: 首页 > 综合 > 正文

获取html 中的select选中的文本

2012年03月19日 ⁄ 综合 ⁄ 共 196字 ⁄ 字号 评论关闭

 

var val = document.all.Item.options[document.all.Item.selectedIndex].text 

var i=document.getElementById('ddlItemDataType').options[document.getElementById('ddlItemDataType').selectedIndex].value;

抱歉!评论已关闭.