Check server response in javascript.

Posted by Mujtaba Hassan on Stack Overflow See other posts from Stack Overflow or by Mujtaba Hassan
Published on 2010-05-20T11:58:18Z Indexed on 2010/05/20 12:00 UTC
Read the original article Hit count: 266

Filed under:
|
|
|
|

I want to check server response in javascript. For example I have a server A which will host the script. On excuting the script it will check if the server B is responding or not. If yest continue other wise redirect to server C. Is this possible with Javascript/Jquery? If not what could be a possible solution in PHP?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery