Pipo Pipo - 1 year ago 127
Ajax Question

Javascript equivalent of jquery ajaxStop

I have multiple ajax request launched at the same time and I want to be able to call a function when they end.

I saw the jQuery function :

but I can't use jQuery in my project.

Does anyone know how to do the same in javascript only?

Thanks for help !

Answer Source

You can use the abort method to stop an http call.

//kill the request


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download