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

Home
JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
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
1.'onLine' Syntax and Note
2.'onLine' Possible Values
3.'onLine' is applied to
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.