[Debutant]Une erreur dans une fonction
Bonjour,
je ne connais pas trops javascript, alors voila mon code, y a une erreur dedans mais chais pas ou
je clique sur l'un des bouton
Code:
1 2 3 4
|
<input name="download" type="button" id="download" value="Download" onClick="Form_state(Download)" />
<input type="button" name="completed" value="Completed" onClick="Form_state(Completed)" />
<input name="saved" type="button" id="save" value="Saved" onClick="Form_state(Saved)" /> |
et je fais appelle a ma fonction
Code:
1 2 3 4 5 6 7 8 9 10 11
| <SCRIPT language="JavaScript">
<!--
function Form_state(Val)
{
document.Formulaire.method = "POST";
document.Formulaire.action = "vzh_mailer_db.php?state=Val";
document.Formulaire.submit();
}
//-->
</script> |