I'm trying the following code in my browser's console.
$.ajax({
type: 'GET',
url: 'http://stackoverflow.com/',
dataType: 'html',
success: function() {
console.log("Yes, this works.");
}
});
Why don't I receive my message in the console?
I do receive the following code.
Object { readyState=1, getResponseHeader=function(), getAllResponseHeaders=function(), more...}