js获取select标签选中的值 var obj = document.getElementById(”testSelect”); var index = obj.selectedIndex; var text = obj.options[index].text; var value = obj.options[index].value; jQuery中获得选中select值 $('#testSelect option:selected').text();//文本 $('#testSelect'…