Partage
  • Partager sur Facebook
  • Partager sur Twitter

erreur syntaxe JS

    26 mai 2010 à 13:21:57

    Bonjour,

    J'ai un probleme de syntaxe je crois j'arrive pas à faire marcher le onclick de ce bouton :

    <input class='excel' type='button' value="Export to Excel " onclick ="location.href= ${htm};">
    


    je sais pas ou se trouve l'erreur !
    Je suis coté jsp ,j'utilise le $(html) pour ecrire un string sui se trouve coté java
    htm = "reqxls?val=" +condition1+ "&ch=" +condition2+ "&zone=" +condition3+ "&region=" +condition4
    				+ "&subregion=" +condition5+"&division=" + condition6  + "&mmdn="+ cndmn+ "&mmdp="+ cndmp 
    				+ "&boxcountry=" + condition7 + "&boxlocation=" + condition8 + "&boxzone=" + condition9
    				+ "&boxregion=" + condition10 + "&boxsub=" + condition11 + "&boxdivision=" + condition12
    				+ "&boxdistrb=" + condition13 + "&boxplant=" + condition14 + "&boxmarket=" + condition15 
    				+ "&boxother=" + condition16 + "&boxhead=" + condition17 + "&boxcoord=" + condition18 
    				+ "&boxmmdloc=" + condition19 + "&boxmmdcontact2=" + condition20 + "&boxmmdcontact1=" + condition21;
    

    qlq'un pourrait m'aider svp
    • Partager sur Facebook
    • Partager sur Twitter

    erreur syntaxe JS

    × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
    × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
    • Editeur
    • Markdown