how to clear both radio buttons in jquery code example
Example: how to clear radio field in jquery
$("[name=color]").removeAttr("checked");
or
var presetValue = "black";
$("[name=color]").filter("[value='"+presetValue+"']").prop("checked",true);
$("[name=color]").removeAttr("checked");
or
var presetValue = "black";
$("[name=color]").filter("[value='"+presetValue+"']").prop("checked",true);