liste déroulante en HTML

  • Initiateur de la discussion pascal_59
  • Date de début
P

pascal_59

Guest
Bonjour à tous,
Je dois renseigner des champs dans une page HTML à partir d'excel. Mais certains champs sont conditionnels.Voici le code HTML:

<FORM NAME='form1' METHOD='POST' ACTION='tab.asp' TARGET='_blank'>
<INPUT TYPE='hidden' NAME='typefiltre' VALUE='0'>
<TABLE WIDTH='800' BORDER='0' CELLSPACING='1' CELLPADDING='0' HEIGHT='40' CLASS='t14' ALIGN='CENTER'>
<TR><TD CLASS='c43' ALIGN='CENTER' VALIGN='MIDDLE' WIDTH='95%'>RECHERCHE - ACTIONS / TRAITEMENTS DEVIATION IGP</TD>
<TD CLASS='c43' ALIGN='CENTER' VALIGN='MIDDLE' WIDTH='5%'></TD></TR></TABLE>
<TABLE WIDTH='800' BORDER='0' CELLSPACING='1' CELLPADDING='0' CLASS='t15' ALIGN='CENTER'>
<TR><TD CLASS='c44' COLSPAN='1' HEIGHT='30' VALIGN='MIDDLE'>Type d'évènement associé
<INPUT TYPE='hidden' NAME='CH3_txt' VALUE='TOUS'></TD>
<TD CLASS='c45' COLSPAN='2' VALIGN='MIDDLE'>
<SELECT NAME='CH3' SIZE=1 CLASS='f59' onChange='MajTxt(this.name);ActiveRecursif();changec83();'>
<OPTION VALUE='0' SELECTED>TOUS</OPTION>
<OPTION VALUE='161'>ACCIDENT / PRESQU'ACCIDENT / SITUATION DANGEREUSE</OPTION>
<OPTION VALUE='166'>ACTIONS </OPTION>
<OPTION VALUE='158'>AUDIT / CONTRÔLE INTERNE / INSPECTION REGLEMENTAIRE</OPTION>
<OPTION VALUE='152'>INSPECTION GENERALE PLANIFIEE (IGP)</OPTION>
<OPTION VALUE='164'>NON CONFORMITE : Produit / Matériel ou Prestation / Système / Réglementation</OPTION>
<OPTION VALUE='163'>PROPOSITION d'AMELIORATION / REX / DÉCISION</OPTION>
<OPTION VALUE='162'>RECLAMATION CLIENT / PARTIES INTERESSEES</OPTION>
<OPTION VALUE='159'>REUNION ou REVUE</OPTION>
<OPTION VALUE='156'>REX de la MISE en OEUVRE des PLANS d'URGENCE</OPTION>
<OPTION VALUE='153'>VISITE SANTE SECURITE ENVIRONNEMENT / VISITE CHANTIER</OPTION>
</SELECT>
<SELECT NAME='CH83' SIZE=1 CLASS='f59'>
<OPTION VALUE='0' SELECTED>TOUS</OPTION>
</SELECT>
<SCRIPT language='JavaScript'>
function colonneCH83(idssparam,chlie,idparam,chprinc){
this.idssparam=idssparam;
this.chlie=chlie;
this.idparam=idparam;
}
ligneCH83=new Array();
ligneCH83[1]=new colonneCH83('1','IGP réseau','152')
ligneCH83[2]=new colonneCH83('1','VSSE','153')
ligneCH83[3]=new colonneCH83('1','Audit interne','158')
ligneCH83[4]=new colonneCH83('1','Revue de direction Nationale','159')
ligneCH83[5]=new colonneCH83('1','Accident','161')
ligneCH83[6]=new colonneCH83('1',' Réclamation Client','162')
ligneCH83[7]=new colonneCH83('1','Proposition d'amélioration','163')
ligneCH83[8]=new colonneCH83('1','Produit','164')
ligneCH83[9]=new colonneCH83('1','Action Corrective','166')
ligneCH83[10]=new colonneCH83('2','IGP compression','152')
ligneCH83[11]=new colonneCH83('2','Audit externe','158')
ligneCH83[12]=new colonneCH83('2','Revue de direction Unité','159')
ligneCH83[13]=new colonneCH83('2','Presqu'accident','161')
ligneCH83[14]=new colonneCH83('2','Réclamation parties intéressées','162')
ligneCH83[15]=new colonneCH83('2','Retour d'Expérience (REX)','163')
ligneCH83[16]=new colonneCH83('2','Matériel','164')
ligneCH83[17]=new colonneCH83('2','Action Préventive','166')
ligneCH83[18]=new colonneCH83('3','Contrôle interne','158')
ligneCH83[19]=new colonneCH83('3','Revue de Processus ','159')
ligneCH83[20]=new colonneCH83('3','Situation dangereuse','161')
ligneCH83[21]=new colonneCH83('3','Décision','163')
ligneCH83[22]=new colonneCH83('3','Prestation','164')
ligneCH83[23]=new colonneCH83('4','Inspection réglementaire','158')
ligneCH83[24]=new colonneCH83('4','Revue locale de processus','159')
ligneCH83[25]=new colonneCH83('4','Système','164')
ligneCH83[26]=new colonneCH83('5','IGP tertiaire','152')
ligneCH83[27]=new colonneCH83('5','Réunion EOB','159')
ligneCH83[28]=new colonneCH83('5','Réglementation','164')
ligneCH83[29]=new colonneCH83('6','Réunion équipe','159')
ligneCH83[30]=new colonneCH83('7','Réunion transverse','159')
ligneCH83[31]=new colonneCH83('10','Comité d'implantation','159')
function changec83(){
i=0
n=0


Je suis capable actuellement de renseigner la balise CH3, mais pas la balise CH83.Lorsque je remplie le champs CH3, les index du CH83 ne se mettent pas à jour. Please HELP..............
 

Statistiques des forums

Discussions
312 398
Messages
2 088 076
Membres
103 706
dernier inscrit
amin Saadaoui