Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html lang="en">
    
<head>
  <meta charset="utf-8" />
  <title>The Realtime Web is Shocking!!</title>
  <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  <![endif]-->
  <script src="http://code.jquery.com/jquery-1.7.min.js"></script>
  <script src="http://js.pusherapp.com/1.9.6/pusher.min.js"></script>
  <script src="https://raw.github.com/leggetter/pusher-js-helper/master/helper.js"></script>
  <script>
    var pusher = new Pusher('a71b8d8b7eef0ef6d98c');
    pusher.connection.bind('state_change', function() {
      $("#conn_status").text(pusher.connection.state);
    });
  </script>
</head>
<body>
  <section>
    <div>Connection Status: <span id="conn_status"></span></div>
  </section>
</body>
    
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers