I have a PHP page with form with 100s of fields in it. I'm using Ajax to fetch content to each field upon typing in the data.
Sometimes, it happens that I get this error:
net::ERR_CONNECTION_TIMED_OUT
Presumably because the server fails to respond on time. When that happens, there is an error and Ajax won't work further.
Is there a way I can make the code execute even after the error? So that I can continue trying Ajax again?
Note: I'm using plain old XMLHttpRequest() request, not jquery functions