Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

WebSockets NOT Supported by Browser (IE 10 on Windows 7)

$
0
0

When I run the following scripts in IE 10 on Windows 7 (Browser Mode = IE10/ Document Mode = Standards) the output indicates the browser does not support WebSockets.  Doesn't IE 10 support WebSockets?  Is the issue related to Windows 7?  Any ideas what the issue might be?

SCRIPTS:

<!DOCTYPE html>
<html>
<head>
<title>JimBergman.net - JavaScript: WebSocketTest</title>
<script type="text/javascript" src="WebSocketTestb.js"></script>
</head>
<body bgcolor="#FFFFFF">
<a href="javascript:WebSocketTest()">Run WebSocket test</a>
</body>
</html>

function WebSocketTest()
{
  if ("WebSocket" in window)
  {
     alert("WebSockets supported here!");
  }
  else
  {
    alert("WebSockets NOT supported here!");
  }
}


OUTPUT:

"WebSockets NOT supported here!"


Viewing all articles
Browse latest Browse all 3527

Trending Articles