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

c - Performance of System() -

python - how we can use ajax() in views.py in django? -

sql server - How to use pivot in this table -