7
rated 0 times
[
13]
[
6]
/ answers: 1 / hits: 23306
/ 13 Years ago, tue, august 16, 2011, 12:00:00
I want to know that how can we get ajax status code in jquery.
I have this ajax block:
$.ajax{
type: GET,
url: keyword_mapping.html,
data:ajax=yes&sf=+status_flag,
success: callback.success,
complete: rollup_filters(),
failure: function(){
alert(Failure);
}
}
Now in above code, in case of failure, how can i get ajax status code and some description of that status code ??
More From » jquery