javascript - Get all xhr request -


I am trying to get all xhr position 200 and when their information is complete Is it possible to get them together in some way or when I send them, there is a reference for each of them?

You can use jQuery,

  $ (document) ) .jaxComplete (function (event, xhr, settings) {if (xhr.status === 200) {// rest handler}});   

This will ensure that all your AJAX responses will affect this method when they are completed, additional checks will be required for response status.

Comments

Popular posts from this blog

sql - Return Function using Cursor -

javascript - Is there any way to add a new parameter to a function programmatically? -

sql server - How to use pivot in this table -