php - jQuery Ajax response are not asynchronous -


i have 2 ajax calls in mvc code, both have set async: true, after first request made , if try make 2nd ajax request, 2nd waiting first response, after getting first ajax response, 2nd request's result appended. not finding solution this.

code below:

first call:

var page_request = $j.ajax({     url:pageurl+'?rel=tab',     async:true,     datatype:"html",beforesend: function () {         middlepanel.html('loading...');     },     success: function(data){         middlepanel.html(data);                              fitboundswithoutseco();                             },     error: function (xhr, textstatus, errorthrown) {         middlepanel.html(textstatus);     } }); 

the second same first.

simultaneous requests in web browsers limited 6. chance hitting limit after first ajax call? (due other requests page)


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -