BuilderBox.buttons = { add_behavior: { '.some_class:click': function() { BuilderBox.buttons.containerMorph(this); } },
containerMorph: function(element) { ... I am wondering, is there is a way to not have to reference BuilderBox.buttons inside the function above? Since it's happening inside BuilderBox.buttons, I would like to reference it as "this"... but if I do .bind(this) to that function, then the "this" which references the element being clicked will be lost... Is there another way to do this? ? -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-scriptaculous@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 -~----------~----~----~----~------~----~------~--~---