E
E
Extramezz2015-10-24 11:57:41
JavaScript
Extramezz, 2015-10-24 11:57:41

How to stop an Ajax request?

How to cancel an Ajax request with jQuery?

That is, native JS has xhr.abort(), but what about $.ajax?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Ineshin, 2015-10-24
@Extramezz

var xhr = $.ajax({...});
xhr.abort();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question