Français
<!-- 把报电影观看在<body> 地址中 --> <!-- http://www.downcodes.com --> <!-- bbs http://www.downcodes.com/bbs- -> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin var arrItems1 = new Array(); var arrItemsGrp1 = new Array(); arrItems1[3] = "Camion" ; arrItemsGrp1[3] = 1; arrItems1[4] = "Entraîner" ; arrItemsGrp1[4] = 1; arrItems1[5] = "Voiture"; arrItemsGrp1[5] = 1; arrItems1[6] = "Bateau" ; arrItemsGrp1[6] = 2; arrItems1[7] = "Sous-marin" ; arrItemsGrp1[7] = 2; arrItems1[0] = "Avions"; arrItemsGrp1[0] = 3; arrItems1[1] = "Ultraléger" ; arrItemsGrp1[1] = 3; arrItems1[2] = "Planeur"; arrItemsGrp1[2] = 3; var arrItems2 = nouveau tableau(); var arrItemsGrp2 = new Array(); arrItems2[21] = "747"; arrItemsGrp2[21] = 0 arrItems2[22] = "Cessna"; arrItemsGrp2[22] = 0 arrItems2[31] = "Kolb Flyer"; arrItemsGrp2[31] = 1 arrItems2[34] = "Kitfox"; arrItemsGrp2[34] = 1 arrItems2[35] = "Planeur Schwietzer"; arrItemsGrp2[35] = 2 arrItems2[99] = "Chevrolet Malibu" ; arrItemsGrp2[99] = 5 arrItems2[100] = "Lincoln LS"; arrItemsGrp2[100] = 5 arrItems2[57] = "BMW Z3"; arrItemsGrp2[57] = 5 arrItems2[101] = "F-150" ; arrItemsGrp2[101] = 3 arrItems2[102] = "Tahoe"; arrItemsGrp2[102] = 3 arrItems2[103] = "Train de marchandises" ; arrItemsGrp2[103] = 4 arrItems2[104] = "Train de voyageurs" ; arrItemsGrp2[104] = 4 arrItems2[105] = "Pétrolier" ; arrItemsGrp2[105] = 6 arrItems2[106] = "Bateau de pêche" ; arrItemsGrp2[106] = 6 arrItems2[200] = "Classe Los Angelas" ; arrItemsGrp2[200] = 7 arrItems2[201] = "Classe Kilo" ; arrItemsGrp2[201] = 7 arrItems2[203] = "Classe Seawolf" ; arrItemsGrp2[203] = 7 function selectChange(control, controlToPopulate, ItemArray, GroupArray) { var myEle ; variablex ; // Videz la deuxième liste déroulante de tous les choix pour (var q=controlToPopulate.options.length;q>=0;q--) controlToPopulate.options[q]=null; if (control.name == "firstChoice") { // Vide la troisième liste déroulante de tous les choix pour (var q=myChoices.thirdChoice.options.length;q>=0;q--) myChoices.thirdChoice.options [q] = nul ; } // ADD Default Choice - au cas où il n'y aurait pas de valeurs myEle = document.createElement("option") ; monEle.value = 0 ; monEle.text = "[SELECT]" ; controlToPopulate.add(myEle) ; for ( x = 0 ; x < ItemArray.length ; x++ ) { if ( GroupArray[x] == control.value ) { myEle = document.createElement("option") ; monEle.value = x ; monEle.text = ItemArray[x] ; controlToPopulate.add(myEle) ; } } } // Fin --> </script> <form name=myChoices> <table align="center"> <tr> <td> <SELECT id=firstChoice name=firstChoice onchange="selectChange(this, myChoices. secondChoice, arrItems1, arrItemsGrp1);"> <option value=0 SELECTED>[SELECT]</option> <option value=1>Terre</option> <option value=2>Mer</option> <option value=3 >Air</option> </SELECT> </TD><TD> <SELECT id=secondChoice name=secondChoice onchange="selectChange(this, myChoices.thirdChoice, arrItems2, arrItemsGrp2);"> </SELECT> <SELECT id =thirdChoice nom=thirdChoice> </SELECT> </TD> </TR> </TABLE> </form>