Bonsoir, j'aimerais savoir comment récupérer la variable passé en paramètre dans une fonction pour pouvoir la réutiliser dans une autre.
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 function LanceAppli() { var Renvoi_Acces = '<?=$row[0]?>'; if (Renvoi_Acces=="1") { if (texte=="LancementA") { window.document.location="Applications/Auxicom/A.exe"; else window.document.location="Applications/Auxicom/A.exe"; } parent.frames['Page'].location.href='../erreur.htm' } } function OnClickFichier( index, texte ) { if( texte == "Lancement" ) LanceAppli(); }
Partager