<select id = "selectId">
<option value = "key1">text1</option>
<option value = "key2">text2</option>
<option value = "key3">text3</option>
</select>
如上所示下拉框,
获取选中的text(n)内容方式:
$("#selectId").val();
获取选中的value的值方式:
$("#selectId").find('option:selected').text();