Thursday, January 25, 2007 10:29 AM
component.className = "imgView";
component.onClick = functionName;
My code applies the style sheet, but doesn't add the onClick or any other event property to div,img or any other HTML elements.
How can i do this? add a event dynamically?
Thanks in advance
-- Abdel Olakara
Re: Dynamically setting events
Friday, February 16, 2007 06:49 AM
Thursday, January 25, 2007 12:56 PM
component.onclick = functionName;