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
| <script>
function verifier_checkbox()
{
var elems = document.getElementsByName("sous_type");
var elemsLength = elems.length;
var COCHE = false;
for(i=0; i<elemsLength; i++)
{
if(document.elems[i].checked)
{
COCHE = true;
break;
}
}
if(COCHE==true)
return true;
else
alert("Vous navez pas fini votre sélection dans la partie « CATÉGORIES »");
return false;
}
</script>
<form name="myform" action="rechercher_si_present.php" method="POST">
<input type="checkbox" name="sous_type" onclick="SetSel_sous_type(this);autre('style_cuisine')" value="Restauration rapide" /><span class="Style_indefini" > RESTAURATION RAPIDE </span><BR />
<input type="checkbox" name="sous_type" onclick="SetSel_sous_type(this);autre('style_cuisine')" value="Restaurant Classique" /><span class="Style_indefini" > RESTAURANT CLASSIQUE</span><BR />
<input type="checkbox" name="sous_type" onclick="SetSel_sous_type(this);autre('style_cuisine')" value="Restaurant Gastronomique" /><span class="Style_indefini" > RESTAURANT GASTRONOMIQUE</span> |