struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nina-Annick Stranzenbach <nina.stranzenb...@sourcepark.net>
Subject Re: Problem with html:link and html:img
Date Mon, 08 Jul 2002 13:43:47 GMT
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
> rkora@1bigthink.com
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message