<select>:

$('#country').find("option[value = " + data.country + "]").attr('selected', true);

 

<intpu type='check'>:

$('input[name=type][value = ' + data.type + ']').attr('checked', 'true');

相关文章:

  • 2021-12-24
  • 2021-05-30
  • 2021-11-21
  • 2021-12-18
  • 2022-12-23
  • 2021-08-01
猜你喜欢
  • 2021-07-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案