此方法是基于jQuery实现得获取option得value得值。
html:
<select id="good_brand" class="form-control">
<option value="">请选择品牌</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
<button id="btn">点击</button>
script:
btn.onclick = function(){
console.log($("#good_brand").val())
}