- From: Dylan Schiemann <dylans@yahoo.com>
- Date: Fri, 15 Jun 2001 07:19:41 -0700 (PDT)
- To: Johnny Stenback <jst@netscape.com>
- Cc: www-dom@w3.org
--- 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 UTC