AUTOR PREGUNTA #1
Publicado 06 julio 2014 - 04:59
¿de qué forma puedo implementar un evento similar al bind de jQuery pero en mootools?
-
¿Tienes la misma pregunta? Yo también
PREGUNTAS SIMILARES
#2
Publicado 06 julio 2014 - 19:31
Prueba de esta forma:
$(document.body).addEvent('click:relay(.filterButton)', function(){ Tu codigo aqui });
#3
Publicado 06 julio 2014 - 19:33
Prueba con el siguiente código:
Element.implement({ addLiveEvent: function(event, selector, fn){ this.addEvent(event, function(e){ var t = $(e.target); if (!t.match(selector)) return false; fn.apply(t, [e]); }.bindWithEvent(this, selector, fn)); } }); $(document.body).addLiveEvent('click', 'a', function(e){ alert('Esto es un evento'); });
AUTOR PREGUNTA #4
Publicado 07 julio 2014 - 03:06
Gracias Jhony