Ok, Tim. But when I try the change the value of the action, as you said,

document.getElementById("formname").action="newaction.do";

it refers to the action "field" and not the action element in the form
tag.

Thanks

-----Mensaje original-----
De: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] 
Enviado el: Martes, 09 de Marzo de 2004 04:23 p.m.
Para: 'Struts Users Mailing List'
Asunto: RE: people using action form field


> But I cannot set the id element in the <html:form> tag.

Yes you can. The Struts "styleId" attribute of <html:form...> translates
in
HTML to the "id" attribute of <form...>.


--
Tim Slattery
[EMAIL PROTECTED]


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


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

Reply via email to