Widget:Sandbox: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 627: | Line 627: | ||
function answerClicked(event){ | function answerClicked(event){ | ||
$(".answer").removeClass("boxed"); | $(".answer").removeClass("boxed"); | ||
$( | $('input[type=radio]').prop('checked', function () { | ||
return this.getAttribute('checked') == 'checked'; | |||
}); | |||
$(this).addClass("boxed"); | $(this).addClass("boxed"); | ||
$(this).find("#Ar").prop("checked",true); | $(this).find("#Ar").prop("checked",true); |