Using only javascript only how do I hit a url eg www.google.com and get the google logo display on my page.
I tried this using jQuery, but i want in pure javascript.
$.ajax({
url: 'http://www.somesite.com/',
type: 'GET',
success: function(res) {
$(res).find('div.content').each(function(){
$('#here').append($(this).html());
});
}
});