Is it possible to use a normal image and submit the form using onClick?

onClick="myFormName.submit();"

On Sunday, January 5, 2003, at 07:44  pm, Howard M. Lewis Ship wrote:

This is tricky do do because there's "hole" in JavaScript that makes
scripting image submit buttons difficult.

----- Original Message -----
From: "Rajesh Anneswamy" <[EMAIL PROTECTED]>
To: "'Howard M. Lewis Ship'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, January 05, 2003 2:30 PM
Subject: RE: [Tapestry-developer] Is ImageSubmit + Rollover possible ?


Hi HMLS,

Is it possible to make the ImageSubmit use a Rollover component, instead
of
only a static image ?

My ImageSubmit button is working but I would like to make it change its
image on "focus" similar to the functionality provided by Rollover.

Something like this:

<component id="addButtons" type="Rollover">
<binding name="image" expression="assets.addButton"/>
<binding name="focus" expression="assets.addButton_pressed"/>
</component>

<component id="addPortletButton" type="ImageSubmit">
<binding name="image" expression="addButtons"/>
</component>

Thanks!.
Rajesh.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to