Well I'm a beginner in ajax and wanted to know how I can do an Internet connection check, and display a message on the screen whether or not I have an active internet connection (I imagine this is possible with Ajax, but I still do not find anything satisfactory on the internet.)
Here are some examples of what I want to do:
Source:yahoo.com
Source: olx.com.br
Thanks in advance for any contribution! ...