Is there a way to make checkboxes act like radio buttons? I assume this could be done with jQuery?
If you select "$("input:checkbox")" will select all the checkbox so you can specify the different radio button by using their name.
$("[name='sname1']").click(function(){
var group = "input:checkbox[name='"+$(this).attr("name")+"']";
$(group).prop("checked",false);
Below Example will explain
$("[name='sname1']").click(function(){
var group = "input:checkbox[name='"+$(this).attr("name")+"']";
$(group).prop("checked",false);
$(this).prop("checked",true);
});
(OR)
$(this).prop("checked",true); });