首页 > 技术文章 > jQuery和js获取select元素的选中项value?
itxinke 2017-07-18 12:15 原文
1.jQuery方式获取:$("#test").val();
2.js方式获取:document.getElementById("test").value;