How to call a function after jQuery .append is completely done?
.append
Here\'s an example:
$(\"#root\").append(child, function(){ // Action
I came across the same problem and have found a simple solution. Add after calling the append function a document ready.
$("#root").append(child); $(document).ready(function () { // Action after append is completly done });