1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
| <html>
<body>
<script type="text/javascript">
<!--
function checkbox(formulaire){
for (i=0; i<document.forms.length; i++) {
if (document.forms[i].check.checked==false)
msg=document.forms[i].check.value ;
alert("Vous avez oublié de certifier pour " + msg +" .");
}
}
//-->
</script>
<table width="100%" border="1" cellspacing="0">
<tr>
<th scope="col">jdfjh</th>
</tr>
<tr>
<td>mail1<br>
<form name="valide1">
<input name="check" type="checkbox" id="check1" value="mail1"
onclick="document.getElementById('check2').disabled=false" >
Certifie.
</form>
</td>
</tr>
<tr>
<td>mail2<br>
<form name="valide2">
<input name="check" type="checkbox" id="check2" value="mail2"
onclick="document.getElementById('check3').disabled=false" disabled>
Certifie.
</form>
</td>
</tr>
<tr>
<td>mail3<br>
<form name="valide3">
<input name="check" type="checkbox" id="check3" value="mail3"
onclick="document.getElementById('submit').disabled=false" disabled>
Certifie.
</form>
</td>
</tr>
</table>
<p> </p>
<form name="form1" method="post" action="test.php" onclick="checkbox()">
<input type="submit" name="Submit" value="Envoyer" disabled>
</form>
<p> </p>
</body>
</html> |