Would really appreciate if anyone can help me figure out why I am unable to fire events programmatically when using event delegation in MooTools (from the Element.Delegati
Element.Delegati
I resolved it this way:
document.addEvents({ 'click:relay(.remove_curso)': function(){ document.fireEvent('_remove_curso', this); }, '_remove_curso':function( me ){ console.log( me ); }.bind( this ) }