The appear
event won't be triggered on an element until after you've initialized the plugin with $(element).appear()
. Since you're loading elements dynamically with AJAX, you need to initialize the plugin on the new elements. So your callback needs to be something like:
.done(function(response) {
$("#someDiv").html(response);
$("#someDiv").find(".animated").appear().on("appear", function() {
...
});
});