:: Forum >> Version 2 >>

Onclick event in JS

More information on this topic is available in the documentation section: /active.html.img/.

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 /active.html.img/

Documentation:

Forum search