Bonjour à tous.

J'ai un petit souci, le code javascript de mon programme ne fonctionne pas sous firefox alors qu'il marche très bien avec ie.

Si quelqu'un pourait m'aider, ce serait sympat.

voici le code :

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
		function ClicPaiement()
		{
			FormCommande.NumCarteBleue.disabled = FormCommande.Paiement[0].checked;
		}
 
 
		function CalculMontant()
		{
			var montant = 0;
 
			for (var i = 0; i<FormCommande.Produits.options.length; i++)
 
				if(FormCommande.Produits.options[i].selected)
					montant += PrixProduits[i];
 
			FormCommande.Montant.value = montant + ' Euros';
		}