function selected(id, val) { $('#' + id + ' option[value="' + val + '"]').attr('selected', true); }
function selected(id, val) { $('#' + id + ' option[value="' + val + '"]').attr('selected', true); }
转载于:https://www.cnblogs.com/hllive/p/7373461.html