<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript" src="http://cdn.sockjs.org/sockjs-0.3.min.js"></script>
<script type="text/javascript" src="app.js"> </script>
<meta charset="UTF-8">
<title>Chat Web Example</title>
</head>

<body>
<h1>Chat - Web Example</h1>
<form onSubmit='sock.send(document.getElementById("input").value); return false;'>
Input text: <input id="input" focus="true" />
<input type="submit" disabled="true" id="send" value="Send" />
</form>
<br/>
Messages from server:</br