struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Long Nguyen <Long.Ngu...@maisystems.com>
Subject RE: Submitting a form
Date Thu, 01 Nov 2001 19:45:00 GMT
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:lisa_ward101@hotmail.com]
Sent: Thursday, November 01, 2001 6:25 AM
To: struts-user@jakarta.apache.org
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: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