You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jean-Roch SCHMITT <je...@noos.fr> on 2005/02/11 19:03:49 UTC
Trouble with form buttons having id="submit"
After several hours lost at reviewing my form definition code, I found
that most Cocoon samples actually define validation buttons id as
"submit".
Hence, it seems to be a common source à troubles. In my case, a
Javascript message "form.submit() is not a function" was logged into
the console.
Here is a link :
http://www.talkaboutprogramming.com/group/comp.lang.javascript/
messages/384839.html
I am not an expert of those topics, but if I would dare an advice :
rename these buttons, and you jump to the next bug of yours, as I will
now do with mines :-) Unless some of our most respected gurus have a
more subtle solution.
I hope this helps some of this list fellows.
Best regards,
Jean-Roch SCHMITT
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org