How do I expect to return an ajax to continue requesting another? I have the following:
$.ajax({
type: "GET",
url: 'http://uma_url_qualquer.com',
success: function (e) {
var item = f.items;
//AQUI A OUTRA CHAMADA
$.ajax({
type: "GET",
url: 'http://uma_url_qualquer.com',
success: function (f) {
}
});
//AQUI TERMINA
}
});
The way the two are running at the same time and error. I tried to use async
but it is already obsolete and hangs my browser! How to solve?