That's awesome, I forgot all about event delegation.

Unfortunately, it won't work for what I was actually trying to do.

http://mooshell.net/Q4TTK/1

There's the real class I'm working on. The attach function isn't detachable at the moment. Any tips?

Ryan Florence

[Writing TextMate Snippets] ( http://blog.flobro.com/ )

On Nov 10, 2009, at 11:48 PM, Aaron Newton wrote:

with event delegation, of course!

http://mooshell.net/Q4TTK/

On Tue, Nov 10, 2009 at 6:33 PM, Ryan Florence <[email protected]> wrote:

http://mooshell.net/L6RRu/

How do I get the element variable to be sent to the logElement method?

Ryan Florence

[Writing TextMate Snippets] ( http://blog.flobro.com/ )



Reply via email to