roleStatus为radio的name 

$('#roleStatus_' + id).text()为要选择的radio的值

 

更多:http://lichuhui.javaeye.com/blog/271574

 

$("#roleStatus1").attr("checked",true);选中指定ID的radio

 

$("input[name=roleStatus][type=radio][value="2"]").attr("checked",true);//value值为2的被选中

相关文章:

  • 2022-12-23
  • 2021-11-30
  • 2021-12-07
  • 2021-09-21
  • 2021-12-07
  • 2022-12-23
  • 2022-12-23
  • 2021-07-18
猜你喜欢
  • 2022-12-23
  • 2021-08-19
  • 2021-12-15
  • 2022-01-09
  • 2022-01-25
  • 2022-02-10
相关资源
相似解决方案