After ajax added new containers it killed methods initialized for them, what can I do to make django-endless-pagination add some JQuery to its generated containers? For example i have:
$(".fact").each(function() {
$(this).css('border-top', '5px solid ' + colors[Math.floor(Math.random() * colors.length)]);
});
and i want to add this to each .fact generated after ajax call.