Testing the Browser Support

To test if the browser supports Web Sockets, use the following feature-detect for the WebSocket API.

var websockets_support = !!window.WebSocket;
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +