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

Android - Facebook GraphUser has no email attribute -

Opencart and VQMOD issue: Could not load controller in vq2-system_engine_controller.php -

deployment - How to upload Parent child SSIS package to server -