I have an ajax call(call 2) inside another ajax success function(call 1). Also i have an ajaxstart function which shows a loading image. But the problem is ajaxstart function is not working on the second ajax call(call 2)
$.ajax({
type: "POST",
url: url,
data: objParam,
dataType: 'json',
success: function(result) {
$.ajax({
type: "POST",
url: url,
data: objParam,
dataType: 'json',
success: function(result) {
},
error: function(err) {
alert("Please Try again");
}
});
},
error: function(err) {
alert("Please Try again");
}
});