RsD0p9BK
9/20/2017 - 6:24 AM

jquery__replace_with_fadin.js

// fadeIn + replaceWith

$("#posts_insert").replaceWith(function() {
    return $(html).hide().fadeIn();
});

// https://stackoverflow.com/questions/6323868/jquery-ajax-using-fadein-replacewith