13
pda87
3y

This happened today... Not my finest hour...

$.ajax({
url: "someurl",
type: "GET",
success: function(data) {
//do something
},
error: function() {
console.log(error);
}
});

...

Browser Exception:
Error: "error" is not defined

FML

Comments
Add Comment