jQuery - Unchecking checkboxes that act like radio buttons
<p>I have the following jQuery code to make my checkboxes act like radio buttons, so that only 1 of the 3 can be checked at a time.</p>

<pre><code>&lt;script type="text/javascript" language="javascript"&gt;
$(document).ready(function() {
    $("#testing input:checkbox").change(function(){
        var checkname = $(this).attr("name");
        $("input:checkbox[name='" + checkname + "']").removeAttr("checked");
        this.checked = true;
    });
});
&lt;/script&gt;
</code></pre>

<p>The checkboxes are layed out like the following:</p>

<pre><code>&lt;input type="checkbox" id="testing" name="testing" value="B"&gt;
&lt;input type="checkbox" id="testing" name="testing" value="I"&gt;
&lt;input type="checkbox" id="testing" name="testing" value="A"&gt;
</code></pre>

<p>This works exactly how i want it to work, not a problem, except once i click one of the 3, i cant unclick it so that none of them are checked, this is what i want to happen, so along with being only able to click one at a time, im able to uncheck them completely.</p>

<p>Any help would be grand :)</p>
