'onLine' Example : onLine « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- onLine
'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