Hi, 
Try using this as below, I have used this way in my project

<html:img src="btn_reset.gif" onclick="JavaScript:UploadResumeForm.reset();"
style="cursor:pointer" border="0"/> 


Regards,

Sahil Gupta
Extn : 339
Mobile: 91 9899468288
Email : [EMAIL PROTECTED] 
******************************************************************
NetEdge Computing Global Solutions Private Limited. 
A-14, Sector-7, NOIDA U.P. 201-301
Tel #  91-120-2423281, 2423282 
Fax #  91-120-2423279 
URL  http//www.netedgecomputing.com 
******************************************************************
This message may contain confidential and/or privileged information. If you
are not the addressee or authorized to receive this for the addressee, you
must not use, copy, disclose or take any action based on this message or any
information herein. If you have received this message in error, please
advise the sender immediately by reply e-mail and delete this message. Thank
you for your cooperation. 



-----Original Message-----
From: marcus biel (innoWake gmbh) [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 06, 2006 5:20 PM
To: Struts Users Mailing List
Subject: Reset Image Button

Is there a way to create an image button that IS a reset button?

I tried this:
<html:image src="reset.gif" onclick="document.MyForm.reset()" />

and this:
<html:reset><html:image src="reset.gif"
onclick="document.MyForm.reset()" /></html:reset>

But unfortunately, it didn't work! :-(

Marcus


---------------------------------------------------------------------
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