$("#div1 :radio").removeAttr("checked");//删除目标div下所有单选框的选中状态
$("#div1 :radio[name='haha']").attr("checked","checked"); //给name为haha的单选框添加选中状态
2023-12-01 21:31:28
$("#div1 :radio").removeAttr("checked");//删除目标div下所有单选框的选中状态
$("#div1 :radio[name='haha']").attr("checked","checked"); //给name为haha的单选框添加选中状态