Hi Lisa,

I used JavaScript to submit the form.  Here is what I have in my page:
            <a href="javascript:document.yourFormName.submit()" >
                <img src="/jsp/images/buttons/continue.gif" width="55"
height="14" border="0">
            </a>

HTH,
Long B. Nguyen


-----Original Message-----
From: lisa ward [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 6:25 AM
To: [EMAIL PROTECTED]
Subject: Submitting a form


Hi All,

I have a button, which is an image.  I want to be able to submit my form 
when the image is clicked.  How can achieve this by using the image I 
already have.  I have some text which is displayed on the button but is not 
part of the image itself.  I know how to do this using the html input tag, 
but haven't found any examples of how to use the struts image tag.

Thanks for your speedy response.

Lisa.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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

Reply via email to