Bonjour,
je veux rediriger vers une page.php via les radios bouttons voila mon code mais ca marche pas.
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 <script language="javascript" > function xml(){ if(xml.radio[0].checked) {window.location.href="CQ_xml.php"; } else if (xml.radio[1].checked) {window.location.href="QC_xml.php";} else{window.location.href="excel_xml.php";} } </script>
Merci D'avance.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 <td width="24"><input type="radio" name="radio" value="CQ" /></td> <td width="33">QC</td> <td width="24"><input type="radio" name="radio" value="QC" /></td> <td width="37">Excel</td> <td><input type="radio" name="radio" value="Excel" /></td>
Partager