bonjour ,
j'ai mis ce script mais il ne fonctionne pas sous mozilla , y'a t'il une solution ??
merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 function Ajouter(form) { for (i=0;i<document.form.sexe.length;i++){ if(sexe[i].checked){ var_sexe=document.form.sexe[i].value; } } if(form.nom_enfant.value!="" && form.prenom_enfant.value!="" ){ var o=new Option(form.nom_enfant.value+";"+form.prenom_enfant.value+";"+var_sexe+";"+form.jour_enfant.value+"-"+form.mois_enfant.value+"-"+form.annee_enfant.value); }else{ Alert("Veuillez saisir Nom (et/ou) Prénom"); } form.liste.options[form.liste.options.length]=o; }
Partager