Is onLine : navigator « Javascript Objects « JavaScript DHTML
- JavaScript DHTML
- Javascript Objects
- navigator
Is onLine
<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