bonjour,
j'ai un formulaire à imprimer, mais l'ennui c'est que j'ai des bouton de type radio et checbox :
Donc au début j'ai fait sa qui ne fonctionne pas évidemment:
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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
 
<script LANGUAGE="JavaScript">
function popup() {
   w=open("",'popup','width=800,height=500,toolbar=no,scrollbars=yes,resizable=yes');   
   w.document.write("<body>");   
   w.document.write("<strong>Modifier Commercial : </strong>"+document.forms[0].elements["commercial_id"].value+"<br /><br />");
   w.document.write("<strong>Sexe : </strong>"+document.forms[0].elements["sexe"].value+"<br /><br />");
   w.document.write("<strong>Nom :</strong>"+document.forms[0].elements["nom"].value+"<br /><br />");
   w.document.write("<strong>Prénom :</strong>"+document.forms[0].elements["prenom"].value+"<br /><br />");   
   w.document.write("<strong>Jour: </strong>"+document.forms[0].elements["dd"].value+"<br /><br />");
   w.document.write("<strong>Mois: </strong>"+document.forms[0].elements["mm"].value+"<br /><br />");
   w.document.write("<strong>Année: </strong>"+document.forms[0].elements["aaaa"].value+"<br /><br />");
   w.document.write("<strong>Adresse: </strong>"+document.forms[0].elements["adressel1"].value+"<br /><br />");   
   w.document.write("<strong>(suite) : </strong>"+document.forms[0].elements["adressel2"].value+"<br /><br />");
   w.document.write("<strong>Code postal : </strong>"+document.forms[0].elements["code_postal"].value+"<br /><br />");
   w.document.write("<strong>Ville :</strong>"+document.forms[0].elements["ville"].value+"<br /><br />");
 
   w.document.write("<strong>Pays :</strong>"+document.forms[0].elements["pays"].value+"<br /><br />");
   w.document.write("<strong>Téléphone domicile :</strong>"+document.forms[0].elements["ville"].value+"<br /><br />");
   w.document.write("<strong>Téléphone portable :</strong>"+document.forms[0].elements["site_web"].value+"<br /><br />");
   w.document.write("<strong>Niveau d'étude :</strong>"+document.forms[0].elements["email"].value+"<br /><br />");
   w.document.write("<strong>Type d'étude :</strong>"+document.forms[0].elements["contact"].value+"<br /><br />");
   w.document.write("<strong>Compétences :</strong>"+document.forms[0].elements["telephone"].value+"<br /><br /></p>");
   w.document.write("<strong>Email : </strong>"+document.forms[0].elements["vvvvvv"].value+"<br /><br /></p>");                           
   w.document.write("<strong>Notes :</strong>"+document.forms[0].elements["vvvvvv"].value+"<br /><br /></p>");                           
   w.document.write("<strong>PR&Eacute;PA MULTIMEDIA </strong>"+document.forms[0].elements["form_1"].value+"<br /><br /></p>");                           
   w.document.write("<strong>PR&Eacute;PA INFORMATIQUE</strong>"+document.forms[0].elements["form_2"].value+"<br /><br /></p>");                           
   w.document.write("<strong>GAMEDESIGNER</strong>"+document.forms[0].elements["form_3"].value+"<br /><br /></p>");                           
   w.document.write("<strong>WEBDESIGNER</strong>"+document.forms[0].elements["form_4"].value+"<br /><br /></p>");                           
   w.document.write("<strong>WEBMASTER</strong>"+document.forms[0].elements["form_5"].value+"<br /><br /></p>");                           
   w.document.write("<strong>INFOGRAPHIE / MULTIM&Eacute;DIA</strong>"+document.forms[0].elements["form_6"].value+"<br /><br /></p>");                           
   w.document.write("<strong>ADMINISTRATEUR SYSTEME ET R&Eacute;SEAUX</strong>"+document.forms[0].elements["form_7"].value+"<br /><br /></p>");                           
   w.document.write("<strong>MONTAGE VIDEO</strong>"+document.forms[0].elements["form_8"].value+"<br /><br /></p>");
   w.document.write("<strong>D&Eacute;VELOPPEUR</strong>"+document.forms[0].elements["form_9"].value+"<br /><br /></p>");                           
   w.document.write("<strong>COMMUNICATION VISUELLE</strong>"+document.forms[0].elements["form_10"].value+"<br /><br /></p>");                           
   w.document.write("<strong>ARCHITECTURE D'INT&Eacute;RIEUR</strong>"+document.forms[0].elements["form_11"].value+"<br /><br /></p>");                           
   w.document.write("<strong>D&Eacute;CORATION / SCENE D'INT&Eacute;RIEUR</strong>"+document.forms[0].elements["form_12"].value+"<br /><br /></p>");                           
   w.document.write("<strong>FLASH</strong>"+document.forms[0].elements["logiciel_1"].value+"<br /><br /></p>");                                 
   w.document.write("<strong>ILLUSTRATOR</strong>"+document.forms[0].elements["logiciel_2"].value+"<br /><br /></p>");                                 
   w.document.write("<strong>PHOTOSHOP</strong>"+document.forms[0].elements["logiciel_3"].value+"<br /><br /></p>");                                 
   w.document.write("<strong>DIRECTOR</strong>"+document.forms[0].elements["logiciel_4"].value+"<br /><br /></p>");                                 
   w.document.write("<strong>DREAMWEAVER</strong>"+document.forms[0].elements["logiciel_5"].value+"<br /><br /></p>");                                 
   w.document.write("<strong>FIREWORKS</strong>"+document.forms[0].elements["logiciel_6"].value+"<br /><br /></p>");                                 
   w.document.write("<strong>XPRESS</strong>"+document.forms[0].elements["logiciel_7"].value+"<br /><br /></p>");                                 
   w.document.write("<strong>PREMIERE</strong>"+document.forms[0].elements["logiciel_8"].value+"<br /><br /></p>");                                 
   w.document.write("<strong>AFTER EFFECTS</strong>"+document.forms[0].elements["logiciel_9"].value+"<br /><br /></p>");                                 
   w.document.write("<strong>3DSMAX</strong>"+document.forms[0].elements["logiciel_10"].value+"<br /><br /></p>");                                 
   w.document.write("<strong>IN DESIGN</strong>"+document.forms[0].elements["logiciel_11"].value+"<br /><br /></p>");                                 
   w.document.write("<strong>MAYA</strong>"+document.forms[0].elements["logiciel_12"].value+"<br /><br /></p>");                                 
   w.document.write("<strong>FINAL CUT</strong>"+document.forms[0].elements["logiciel_13"].value+"<br /><br /></p>");                                 
   w.document.write("<strong>COMBUSTION</strong>"+document.forms[0].elements["logiciel_14"].value+"<br /><br /></p>");                                 
   w.document.write("<strong>AUTRES :</strong>"+document.forms[0].elements["logiciel_autre"].value+"<br /><br /></p>");                                                               
   w.document.write("<\/body>");
   w.document.close();
   w.print();
}
</script>
Merci d'avance...