pablocattaneo
11/15/2016 - 3:20 PM

Event binding on dynamically created elements Source: http://stackoverflow.com/questions/203198/event-binding-on-dynamically-created-element

$(staticAncestors).on(eventName, elementBindEvent, function() {});

// example
jQuery('.miListaWrapper').on('click','.itemMiLista a', function(event) {
	console.log('works')
});