I'm trying to manually submit an HTML form using the following :
document.myform.submit() for a Struts form. Does anyone know if there is a problem submitting on these tags ? I get an error indicating that the function is not recognized in Javascript.
Yes - but that's not what I said. I said to check you have no form elements [!]named[/!] submit - regardless of their [!]type[/!]. Do you have any form elements [!]named[/!] "submit"?
Dan
Coedit Limited - Delivering standards compliant, accessible web solutions
Thanks so much. Your initial suggestion worked. I'm not sure whether I had a typo or something the first time, but on attemtping it again, dynamic submission of the form worked. Thanks so much.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.