'onLine' Example : onLine « Javascript Properties « JavaScript Reference

'onLine' Example

    
<html>
<body>
<script language="JavaScript">
function function1() {
   var m = navigator.onLine;
   alert("The onLine value is: \n"+m); 
} 
</script>
<input type="Button" value='Get the onLine value' onClick="function1();">
</body>
</html>

    
      
      








Related examples in the same category

1.'onLine' Syntax and Note
2.'onLine' Possible Values
3.'onLine' is applied to