Slightly more concise, not tested:

function getContent(id, url) {
 $('#' + id).fadeOut(1200, function() {
   $('#' + id).load(url).fadeIn(1200);
 }
}

- Richard

Reply via email to