:: Forum >>

Onclick event in JS

How do i use the onclick event on the image object that is being generated dynamically in javascript.
Anbarasan
Friday, December 23, 2005
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
Friday, December 23, 2005

This topic is archived.


Back to support forum

Forum search