i have not been replaced yet!
$(function(){
$.asyncSelect(function(cb){
setTimeout(function(){
cb("<div>added content! 7 seconds later</div>");
},7000);
}).appendTo("#replace_me");
$("#replace_me").appendAndSelect("<div>hey i waited 5 seconds and then completed the chain</div>")
.css({'backgroundColor':'blue'})
.fadeOut(500,function(){
$(this).fadeIn();
});
});
SOURCE:
me on GitHub