How to reset radiobuttons in jQuery so that none is checked
In versions of jQuery before 1.6 use: $(‘input[name=”correctAnswer”]’).attr(‘checked’, false); In versions of jQuery after 1.6 you should use: $(‘input[name=”correctAnswer”]’).prop(‘checked’, false); but if you are using 1.6.1+ you can use the first form (see note 2 below). Note 1: it is important that the second argument be false and not “false” since “false” is not a … Read more