第一种方法:

 $('input:radio[name="sex"]:first').attr('checked','true')

第二种方法:

$('input:radio[name="patsex"][value='+s.sex+']').attr("checked",'checked');

相关文章:

  • 2022-02-15
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2021-10-17
  • 2022-12-23
  • 2021-11-30
  • 2021-08-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-24
  • 2021-12-09
  • 2022-12-23
  • 2021-12-14
相关资源
相似解决方案