Wondering how I can deselect a Radio Button. I have a grid of 10 rows, 3 columns. Only allowed 1 selection per row. Responses not required for every row. Currently using radio buttons rather than checkbox because I prefer having 10 vars rather than 30 (e.g. r1_c1, r1_c2, etc.) . If the respondent clicks on a row by mistake and wants to remove that selection, they are unable to do so with Radio Buttons. Was hoping to use a double-click function to deselect the Radio Button. Found some code online but have not been able to have it take effect. Any help would be appreciated.
$('.rdCheck').dblclick(function(){
if($(this).is(':checked'))
{
$(this).removeAttr('checked');
}
});
Thanks!