Hi everyone, I'm trying to perform an action when a user clicks on a particular DOM element in my document. In my specific case, when the user clicks on an image in my application, I need to modify its "src" attribute. It seems like the approach I need to take is to call addEventListener to add a "click" event listener when adding my image element. In the event listener, I could then change the "src" attribute as needed. Is this the correct approach to take or is there a better way to accomplish this?
I'm using the Chromium port of WebKit on Windows, but I think this is a general (non platform-specific) question. Thanks, Emerick _______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
