On Apr 9, 9:53 am, "Jonathan Rosenberg" <j...@tabbysplace.org> wrote: > Ok, I haven't thought this out fully, but how about > > Event.addBehavior({ > '#foo:click': (function() { > someFunc(this)).bind(this) > }
Right.. that gives me access to the class, but then I lose #foo... That's what I am wondering-- how can I have access to both #foo and the class inside that function? -patrick -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.