Supposing the href is correct and is the same as a selector, you're missing a space:
$("#services a").click(function(){
var href = $(this).attr("href");
$('#content').slideToggle(function(){
$("#content").load("services.html " + href);
// ^^^ space needed here
});
return false;
});
this is because the correct syntax for load()
is
$("#content").load("services.html #IdOfelementToLoad");
// ^^ ^^ ^ ^^
// container filename space selector for filter