validate, check, conexion to internet
// Ver https://developer.mozilla.org/es/docs/Web/API/NavigatorOnLine/onLine
if(navigator.onLine) {
// el navegador está conectado a la red
} else {
// el navegador NO está conectado a la red
}
Are there any code examples left?
New code examples in category Other