Answer the question
In order to leave comments, you need to log in
How to check the server for availability?
Good day.
I am writing an application for a price checker, the principle is this, I access the server via AJAX, receive JSON and display the data on the screen. It is necessary to check the server for availability by constant polling and display a hidden block on the screen if there is no connection to the server.
Please tell me how to do it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question