Actually if you use an <html:image> tag (or plain html along the lines of <input type="image" ...) when clicked the form will be submitted without need of JavaScript. If you need to do extra stuff in javascript first you can intercept this in the onclick event. Miguels suggestion to use an image in a link is also quite practical (Im doing this in several places in my current project and it works well) if you dont mind using JavaScript.
-----Original Message----- From: Miguel Angel Mulero Martinez [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 22:27 To: Struts Users Mailing List Subject: RE: Submit form Put the image in a link, and use the onclik javascript function to do a real submit of the form. -----Mensaje original----- De: kiuma [mailto:[EMAIL PROTECTED]] Enviado el: miercoles, 09 de octubre de 2002 16:02 Para: Struts Users Mailing List Asunto: Submit form Hi all, I was wondering how to submit to a form using an image instead of a abutton. Do you have the answer ? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>