Use the 'property' attribute of the submit tag to change the name that is
assigned to the submit button.

This in my jsp: <html:submit property="testsubmit" value="Add"/> generated
this in the HTML: <input type="submit" name="testsubmit" value="Add">

Dave D


----- Original Message -----
From: "Guido Schmutz" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 1:20 PM
Subject: AW: JavaScript Form/submit Function


> Hello,
>
> I'm currently having the exact same problem. It's caused by the
> <html:submit> button, which automatically assigns the name "submit" to
> the button. Therefore you have an object submit in your form an IE does
> not seem to recognize the submit() method on the form anymore. If you
> remove your <html:submit> tag, your form would work perferctly.
>
> I'm not sure what the solution for the problem is and I'm still working
> on it.
> I've tried to put the <html:select> in a second form and that would
> work. Another way would be to not use the <html:submit> tag and code the
> submit button manually (with a different name than submit). Unfortunatly
> it's not possible to pass a name to the <html:submit> tag and I'm also
> not sure, if Struts uses the name "submit" internally.
>
> Any additional input would help me as well.
>
> Guido



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to