Niente da fare..
Con il metodo suggerito da te non funzionano neanche i check abilitati..
Me li fa cliccare ma non mette nessuna spunta.
Ho ottenuto risultati migliori con questo codice:
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento senza titolo</title>
<script type="text/javascript">
function functionTest(form) {
if (document.getElementById('check2').checked == true ||
document.getElementById('check3').checked == true ||
document.getElementById('check4').checked == true) {
document.getElementById('check1').checked = false;
document.getElementById('check1').disabled = false;
}
else if (document.getElementById('check1').checked == true) {
document.getElementById('check1').disabled = true;
document.getElementById('check2').checked = false;
document.getElementById('check3').checked = false;
document.getElementById('check4').checked = false;
}
else {
document.getElementById('check1').checked = true;
document.getElementById('check1').disabled = true;
}
}
</script>
</head>
<body>
<form>
<input id="check1" type="checkbox" disabled="disabled" checked="checked" onclick="functionTest(form)"/>
<input id="check2" type="checkbox" onclick="functionTest(form)"/>
<input id="check3" type="checkbox" onclick="functionTest(form)"/>
<input id="check4" type="checkbox" onclick="functionTest(form)"/>
</form>
</body>
</html>
Con questo codice:
- [OK] se clicco su uno dei 3 check abilitati mi mette la spunta e mi abilita il primo.
- [OK] se tolgo la spunta dal check 2, check 3 e check 4 il check 1 viene disabilitato e spuntato.
- [Accidenti questo non funziona] se lasciando spuntato una delle checkbox (che sia il 2, il 3 o il 4) e clicco sul primo non accade nulla.
Forse la mia spiegazione non è molto chiara 
Se avete dubbi chiedete pure...devo riuscire a risolvere sto problema!