modifié: test.html

This commit is contained in:
sidya82 2014-02-28 06:30:30 +01:00
parent a47ab3468d
commit b5c1a76298

View File

@ -17,12 +17,12 @@
ws.onclose = function () {
console.log("connection closed");
};
function refresh() {
/* function refresh() {*/
console.log("send data");
ws.send("next");
}
/*$(document).ready(refresh())*/
setInterval(refresh(), 2000);
//}
/*$(document).ready(refresh())
setInterval(refresh(), 2000);*/
</script>
</head>
<body>