By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,660 Members | 1,945 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,660 IT Pros & Developers. It's quick & easy.

Ajax Request when no Internet Connection ?

P: 296
If Internet goes down while we make a Ajax Request then how to give feedback to the user that the internet is down ?
Jan 30 '08 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
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.
Jan 30 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.