J'ai une question tres simple a vous poser. J'ai fait ce petit programme qui permet de choisir une reponse parmi 7 et je voudrai verifier si le bouton radio a bien ete coche ou pas :
<html>
<body>
<form name='f' method='post' action='page02.php' >
<table border=0 align=center width="75%" cellpadding=15 cellspacing=0><br>
<tr>
<td width=162>
<b>Heureux (se). </b> </td>
<td width="35" colpsan=1>
<input value=1 type=radio id=m1_1 name=m1><label for=m1_1>1</label>
</td>
<td width="25" colpsan=1>
<input value=2 type=radio id=m1_2 name=m1><label for=m1_2>2</label>
</td>
<td width="31" colpsan=1>
<input value=3 type=radio id=m1_3 name=m1><label for=m1_3>3</label>
</td>
<td width="20" colpsan=1>
<input value=4 type=radio id=m1_4 name=m1><label for=m1_4>4</label>
</td>
<td width="20" colpsan=1>
<input value=5 type=radio id=m1_5 name=m1><label for=m1_5>5</label>
</td>
<td width="20" colpsan=1>
<input value=6 type=radio id=m1_6 name=m1><label for=m1_6>6</label>
</td>
<td width="20" colpsan=1>
<input value=7 type=radio id=m1_7 name=m1><label for=m1_7>7</label>
</td>
</tr>
</table>
<br>
<input type=hidden name=formnum value=2>
<center><input type=submit name=page3 value="Page suivante"></center>
</body>
</html>
j'ai bien compris qu'il faudra inserer du code javascript mais je ne sais pas comment le faire. si quelq'un peut m'aider? merci.