3.2.0

Onclick event in JS

How do i use the onclick event on the image object that is being generated dynamically in javascript.
Anbarasan
December 23,
I am relatively new to AW but I believe the code would be something like this assuming "obj" is your AW Image Object

function myFunction (){
     // code here
}

obj.setEvent("onclick", myFunction);


Someone else may be able to verify this.
Tony
December 23,

This topic is archived.

See also:


Back to support forum