Hi (again) ! I've a general question about events. Sometimes I have to put the multiple events on a same element, like "focus" and "blur". So I have to repeat twice the same code just for 2 different events like : $('myElement').addEvents({ focus: function(){ Do my action }, blur: function(){ Do my action (the same) } });
Is there a way to simplify this to have both events doing the same code ? (I search and found nothing with mootools to do this, I think JQuery does and called it Binding events) Thanks -- --- You received this message because you are subscribed to the Google Groups "MooTools Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mootools-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.