js 如何在ie8下获取选中的option的值
e.currentTarget.selectedOptions[0].label;
没有这个对象
求助
js 如何在ie8下获取选中的option的值
e.currentTarget.selectedOptions[0].label;
没有这个对象
求助
var select=document.getElementById('select的id');
var text=select.options[select.selectedIndex].text//现实的内容
var value=select.value;//值