The second parameter of the load()
function can be used as a callback function. So the slideDown()
only occurs when the load is complete:
$("#btn").click(function () {
$('#div01').load('about.php', function(){
$("#div01").slideDown("slow");
});
});