Once all three loads are complete...
$("#sidebar a").live("click", function(e){
$(this).addClass("selected loading");
$("#conceptual").load(conceptualUrl, null, function(){ $(this).removeClass('loading').show("fast"); });
$("#development").load(developmentUrl, null, function(){ $(this).removeClass('loading').show("fast"); });
$("#operational").load(operationalUrl, null, function(){ $(this).removeClass('loading').show("fast"); });
});
How can I remove the loading class from the link once ALL THREE loads are complete?
$("#sidebar a.loading").removeClass("loading");
Thanks!