名称:
<div>
<span>单位</span>
<label>
<select id="item">
<option <c:if test="${item==Item.Unit}"> selected</c:if>
>${Item.unit}</option>
<option>米</option>
<option>厘米</option>
</select>
</label>
</div>
以下下JQ
$.post($("form").attr('action'),{
Name: $("input[name='Name']").val(),
Unit:$("#item option:selected").text(),
});
我可以获得 input的值但是得不到Select中的值