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
Post a Comment