I have radio buttons in HTML like this:
1 13条回答 無奈伤痛 (楼主) 2020-11-29 17:24 Your problem is that the attribute selector doesn't start with a @. Try this: $('input[name="correctAnswer"]').attr('checked', false); 0 讨论(0) 查看其它13个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
Your problem is that the attribute selector doesn't start with a @.
@
Try this:
$('input[name="correctAnswer"]').attr('checked', false);