Javascript-jQuery【1】-用promise()实现html()回调函数
$('#divId').html(someText).promise().done(function(){
//your callback logic / code here
});
$('#divId').html(someText).promise().done(function(){
//your callback logic / code here
});