JQUERY根据值将input控件选中!
<select>:
$('#country').find("option[value = " + data.country + "]").attr('selected', true);
<intpu type='check'>:
$('input[name=type][value = ' + data.type + ']').attr('checked', 'true');
<select>:
$('#country').find("option[value = " + data.country + "]").attr('selected', true);
<intpu type='check'>:
$('input[name=type][value = ' + data.type + ']').attr('checked', 'true');