This code:
$("#permalink a").click(function(id){
var id = this.getAttribute('href');
$("#newPostContent").load(id, function() {
$("#removeTrigger").click(function() {
$("#removeThis").hideToggle();
$("#postSingle").hideToggle();
});
});
$("#postSingle").fadeToggle();
return false;
});
Shows #postSingle before the load function finish its work. How can I adjust it?
Thanks
(a lot of questions today, thank you, everybody :)).