I want to get div(content_id) of any web site to my page(#mydiv). I tried to below codes.
$.ajax({
url:'http://example.com',
type:'GET',
success: function(data){
$('#mydiv').html($(data).find('#content_id').html());
}
});
I have many error like this;
http://127.0.0.1/web/Content/icons/chart5.png (404 Not Found)
http://127.0.0.1/web/Content/icons/chart12.png (404 Not Found)
....
I tried replace('/web/', 'http://example.com/web/')
But it does not work. Can any body help me? Thanks...