如何用js实现将当前点击的单选按钮变为选中状态?代码如下:function doGender(gender) {if (gender == "男") {gel("radionan").checked = true} else {gel(&2023-02-18JavaScript2490