Ajax Request when no Internet Connection ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pankajit09
    Contributor
    • Dec 2006
    • 296

    Ajax Request when no Internet Connection ?

    If Internet goes down while we make a Ajax Request then how to give feedback to the user that the internet is down ?
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Just check the status of the request. If it's 200, then it's OK. If it's 404, it usually means NOT FOUND. See a list of status definitions.

    Comment

    Working...