I believe in HTML 4.0 there is <input type="image" available.

Otherwise, you could do something like this:

<input type="hidden" name="eventSubmit_doThing" value="1"/>
<img src="myimage" onclick="this.form.submit()"/>


From: "Stijn de Witt" <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Subject: <img> instead of <input type="submit">
Date: Mon, 21 Jun 2004 10:37:14 +0200

Hi,

I am working on an entry form. I have succesfully placed a button on my form
using <input type="submit" name="eventSubmit_doThing" value="Do Your
Thing"/> and then caught the event in my portletaction.doThing().


I was wondering if (and how) I could achieve the same effect using an image
instead of a button?

Thanks,

-Stijn


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page � FREE download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to