Hi. I see that bindWithEvent is deprecated. ok. I also see this
example:

myElement.addEvent('click', function(e){
    myFunction.bind(bind, [e]);
});

ok. But I tried this instead:

myElement.addEvent('click', function(e){
   [...]
}.bind(this));

And it seems to work. What's wrong?

Thank you

Reply via email to