<html>
<head>
<title>bouton radio</title>
<script language="javascript">
function choisir()
{
if(document.f3.choix[0].checked)
{ alert("il ya:"+document.f3.choix[0].value+"solution");}
if(document.f3.choix[1].checked)
{alert("il ya:"+document.f3.choix[1].value+"solution");}
if(document.f3.choix[2].checked)
{alert("il ya:"+document.f3.choix[2].value+"solution");}
}
</script>
</head>
<body>
<h3>le signe du disciminant d'une équation de scond degree</h3>
<form name="f3">
<input type='radio' name='choix' value="2" >stritement positif<br>
<input type='radio' name='choix' value="1" >null<br>
<input type='radio' name='choix' value="0" >stritement negative<br>
<input type="button" name="but" value="le nombre de solutions reelles" onclick="choisir()">
</form></body>
</html>