jquery html() callback function April 9, 2024 by Tarik $('#divId').html(someText).promise().done(function(){ //your callback logic / code here });