页面代码:
<select data-am-selected id="table-item-capital-source" name="capital_source"><option value="0">007</option><option value="1">008</option><option value="2">009</option><option value="3">010</option><option value="4">011</option><option value="5">012</option></select>
js控制代码:
$("#table-item-capital-source option[value='0'] ").attr("selected",true);
把这段代码防止触发事件中,事件触发后页面默认选择【007】;
================================================================================================
//补充一段代码$("#tablesource").find('option[value="'+obj.capital_source+'"]').attr('selected', true);$("#tablesource").find('option[value="'+obj.capital_source+'"]').siblings().attr('selected', false);