Today I ran into an issue where I needed to handle a button's
onclick event that I was dynamically creating in my page. That sounds easy, but I wanted to handle the event via an instance method, not a static method, which is trickier because you need to preseve the
bind() solution. He really solidified some concepts I was still a bit murky on (i.e. closures).
* Posted at 04.13.2006 01:10:07 PM CST | Link *