通过jquery 获取下拉列表中选中的值对应的value
<div class="col-sm-9">
<select id="device-type" class="form-control" name="Device[type]">
<option value="0">请选择设备类型</option>
<option value="3">低压出线柜</option>
<option value="4">低压总柜</option>
<option value="5">变压器</option>
<option value="7">高压出线柜</option>
<option value="8">高压进线柜</option>
<option value="9">高压进出线一体柜</option>
</select>
<div class="help-block help-block-error "></div>
</div>
<script>
$(function() {
var type = $('#device-type option:selected').val();
});
</script>