--- Johnny Stenback <jst@netscape.com> wrote: > Are you saying that the 'this' should be the > function foo in the > following case too? > > function foo(e) > { > alert(this); > } > > element.addEventListener("click", foo, false); > Not necessarily. However, something equivalently simple would be nice. Jeff's idea works, but it isn't as clean as it should be. -Dylan __________________________________________________ Do You Yahoo!? Spot the hottest trends in music, movies, and more. http://buzz.yahoo.com/Received on Friday, 15 June 2001 10:19:46 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:53 GMT