Skip to Content
avatar image
Former Member

Trigger event on click of image

Hi experts,

Can we trigger an event on the click of an image , instead of a button?

I could not add image onto a button , neither could i find the click property for an image. Image field click opens up a file browser which does not suffice the requirement.

Thanks,

Virag

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Mar 19, 2009 at 12:04 PM

    Hi,

    You can have a small work around this, I think it may some what solve your query. Place a button over the "Image Field" and for that Button in the "Object" Pallette make the Appearence as Custome and there select every thing as none and in the "Border" Pallette select everything as none. And for this Button you can write "Click" event and also if you also want the Image field File Browser to be opened up then you can have the JavaScript in the Button Click event itself like for eg. image1.execEvent("click").

    Regards

    Pradeep Goli

    Add comment
    10|10000 characters needed characters exceeded