You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Harish Krishnaswamy <hk...@comcast.net> on 2003/07/18 05:06:09 UTC
Re: How to render an image on a button? My Solution
I ended up using a GenericLink with the "id" attribute and used the DOM
method getElementById to attach the javascript. Does anyone have a
better way of doing this?
Thanks
Harish
Harish Krishnaswamy wrote:
> The ImageSubmit component submits the form.... that is not what I am
> looking for. I just want to invoke my javascript.
>
> -Harish
>
> Meade, Joseph L wrote:
>
>> Isn't that the standard ImageSubmit component?
>>
>> Joe
>> -----Original Message-----
>> From: Harish Krishnaswamy [mailto:hkrishnaswamy@comcast.net]
>> Sent: Thursday, July 17, 2003 5:05 PM
>> To: tapestry-user@jakarta.apache.org
>> Subject: How to render an image on a button?
>>
>>
>> Is a custom component that renders <button.../> the only option for
>> this?
>>
>> I basically want to attach javascript to a button and I want the
>> button to be graphic. Does anyone have any suggestions?
>>
>> Thanks
>> Harish
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>