I am sending the following variable to the jQiery load method, expecting only the hashtagged div in return, instead I am getting the whole site
url: http://localhost/createstudios/videos/?vimeo=15741581#sidebar
function:
function mf_ajax_load_new_content(url, div){
//$('#ajax_loader').clone().prependTo('#main-content-area').show();
$(div).animate({opacity:0.1},500,function(){
$(this).children().remove();
$(this).parent().load(url+div, function() {
$(this).animate({opacity:1},500);
});
})
}
mf_ajax_load_new_content($(this).attr('href'), "#sidebar");