Solved

how to check wheather innternet connection is their or not

Posted on 2009-05-13
5
169 Views
Last Modified: 2012-05-06
how to check wheather innternet connection is their or not
0
Comment
Question by:trinadhrakesh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 19

Expert Comment

by:erikTsomik
ID: 24376787
try this
<html>
<head>
<title>check</title>
<meta content="text/html; charset=windows-1251" http-equiv=Content-Type>
<script type="text/javascript">
<!--

function check() {
if (navigator.onLine(boolean)) {
alert("you are online")
}
else {
alert("you are not online")
}
}

//-->
</script>
</head>
<body onload="check()" >
</body>
</html>
0
 

Author Comment

by:trinadhrakesh
ID: 24376970
its not working
0
 
LVL 12

Accepted Solution

by:
Gibu George earned 500 total points
ID: 24377155
0
 
LVL 16

Expert Comment

by:CWS (haripriya)
ID: 37194224
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question