Here's my example: http://hamzakhan.name/dev/eric/options/five/fiveage.html
As you can see, there are two checkboxes in each box. I tried adding this javascript from make checkbox behave like radio buttons with javascript by adding this script under the html form code:
<script>
$(".agecb").each(function()
{
$(this).change(function()
{
$(".agecb").prop('checked',false);
$(this).prop('checked',true);
});
});
</script>
but it's not working. As you see, when I try to click on one checkbox and then click on another checkbox in the next panel, the first one unchecked. How do I fix that? I want it to work across each panel.