How to call a function after jQuery .append is completely done?
.append
Here\'s an example:
$(\"#root\").append(child, function(){ // Action
$.when($('#root').append(child)).then(anotherMethod());