I have a group of checkbox
, of which you can mark any of these, however now I need two of them to only allow me to mark one ..
<div class="checkbox">
<label>
<input type="checkbox" name="permisos" value="1" id="cv">
Ver
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="permisos" value="2" id="ca">
Ver todos
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="permisos" value="3" id="cg">
Guardar
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="permisos" value="4" id="cm">
Editar
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="permisos" value="5" id="ce">
Eliminar
</label>
</div>
Within this group of checkbox
, the options to see - see all I only allowed one of them, that is to select one and uncheck the other, without affecting the rest, I have been using jquery but I could not to achieve it, any ideas?