[jQuery] jQuery ajax - can i know if the server is alive ?
Hi there friends
i was wondering if i could acheive this
make an ajax request using jquery and know if the server is alive even
before the request is sent.
For example, i have a div, that changes to "Connecting to
server"..."Connected to server, sending request"...."Request complete"
- showing the different stages of the request. So if the server is not
responding, i would like it to be something like "Connecting to
server"..."Cannot connect to server".."Request failed".
Is there any way i could achieve this?
Thanks
Vru