I am executing the following ajax call. I am testing timeout mechanism and thus suspending my server on purpose. The problem is that although I do receive timeout in the client after one second the call as I see it in firebug still continues.
I guess there should some way to stop the call execution but I did not find one.
$.ajax({
url: url,
dataType: "jsonp",
jsonp: "jsoncallback",
timeout: 1000,
success: (function(w) {
...
},
error: function(XHR, textStatus, errorThrown) {
alert("Error");
}
});
Appreciate the help.