BonBon Slick2017-05-16 14:10:34
BonBon Slick, 2017-05-16 14:10:34

Ajax ERROR handling if response is not 200?

How to skip ajax request and execute the next one if the current one returned an error?

I have an ajax request cycle, if at least one request is processed for more than 1.5 minutes, it will return an error, and the cycle stops, but it needs to go further.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Anton fon Faust, 2017-05-17

no code - no answers.
In the simplest case, error and success in your callback should do the same thing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question