Easier/makes-more-sense:
- Why not use a radio box group then?

Otherwise:
- Using jQuery to mimic functionality w/ CheckBox

<input type="checkbox" id="A" />
<input type="checkbox" id="B" />
<input type="checkbox" id="C" />
<input type="checkbox" id="D" />

$(document).ready(function() {
       $("#A, #B, #C, #D").change(function() {
             var ThisID = this.id;
             $("#A, #B, #C, #D").each(function() {
                   if (this.id != ThisID) { this.checked = false; }
             })
       });
})



On Feb 23, 4:18 pm, shapper <mdmo...@gmail.com> wrote:
> Hello,
>
> I have 8 inputs of type checkbox.
>
> On 4 of them (A, B, C and D) I want to deselect the other three when
> one is selected.
>
> For example, if I select A I want B, C and D to be deselected.
> If I select  C I want A, B and D to be deselected.
>
> Is it possible to create this functionality?
>
> Thanks,
> Miguel

Reply via email to