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");
$("#Ar").prop("checked",false);
$('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);

Revision as of 17:30, 18 February 2014