Yes, that is what I have tried. But it doesn't seem to work. Regards, Ravi Kora
-----Original Message----- From: Nina-Annick Stranzenbach [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 9:44 AM To: 'Struts Users Mailing List' Subject: Re: Problem with html:link and html:img have you tried <html:link onclick="func()" > <html:img src="submit.gif" /> </html:link> ? On Mon, 2002-07-08 at 16:08, Ravi Kora wrote: > Hi, > I have a page where I want to combine my html:link and html:img tags. > In regular html, it would be something like this. <a > href="dummy.html"><img src="submit.gif" ></a> > > I want to write the same thing using struts tags.On clicking the > image, I want to invoke a JavaScript function which eventually submits > the form. So, I wrote my code like this. <html:link onClick="func()" > > <html:img src="submit.gif" /> </html:link> > > This code does not work.I am using Struts 1.0.2. Can someone please > help me with this? > > > Thanks & Regards, > Ravi Kora > [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]> > -- 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]>

