jquery html() callback function

$('#divId').html(someText).promise().done(function(){
    //your callback logic / code here
});

Leave a Comment