Bonjour à tous,
la fonction suivante :
ne pose pas de problème sous firefox 3.0.8 mais j'ai une erreur javascript sous ie 7.
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 function goVisualiser( nimTemporaire, dateDebutValidite, typeClient, codePays, typeClientSimple ) { var formName = "repriseCreationForm"; if (typeClient == "GDO" || typeClient == "GEX") { document.forms[formName].action = "/<%=ReflexConst.WEBAPP_NAME%>/RepriseCreationPMServlet"; document.forms[formName].action.value = '<%=RepriseCreationPMServlet.PAGE_PM_TEMPORAIRE_VISU%>'; document.forms[formName].nimTemporaire.value = nimTemporaire; document.forms[formName].dateDebutValidite.value = dateDebutValidite; document.forms[formName].typeClient.value = typeClient; document.forms[formName].typeClientSimple.value = typeClientSimple; document.forms[formName].submit(); } else { document.forms[formName].action = "/<%=ReflexConst.WEBAPP_NAME%>/PreparationCreationServlet?action=<%=PreparationCreationServlet.ACTION_CHOIX_PAYS_VALIDER%>"; document.forms[formName].nimTemporaire.value = nimTemporaire; document.forms[formName].dateDebutValiditeTemporaire.value = dateDebutValidite; document.forms[formName].dateDebutValidite.value = dateDebutValidite; document.forms[formName].typeClient.value = typeClient; document.forms[formName].typeClientSimple.value = typeClientSimple; document.forms[formName].codePays.value = codePays; document.forms[formName].submit(); } }
J'ai comme message d'erreur :
"Cet objet ne gère pas cette propriété ou cette méthode".
Quelqu'un aurait-il une idée du pourquoi ?
Merci d'avance.
Partager