It's been a while I've been doing jQuery, so this might be a very basic question. I've done the following call.
$.ajax({
url: "http://www.google.com",
success: function () { alert("hazaa"); },
error: function(xhr, status, error) {
$("#donkey").html(xhr.responseText + status + error);
},
type: "GET"
});
It gets executed but my donkey only shows the text error (status part, that is, while xhr and error are blank). I've tried to go eval on it but that caused an exception and nothing got done.
I've heard about this google site and it definitely is up and running, hehe. What did I miss?!