Files
PhotonVision/Site/JS/main.js

17 lines
425 B
JavaScript
Raw Normal View History

2019-03-08 17:00:18 +02:00
// let ws = new WebSocket("ws://localhost:8888/websocket");
2019-03-06 22:23:02 +02:00
// ws.onopen = function () {
// ws.send("hello");
2019-03-06 22:23:02 +02:00
// }
// ws.onmessage = function (ev) {
// alert(ev.data);
// }
// function changeTab(index) {
// arr = document.getElementsByClassName("tab");
// for (let element of arr) {
// element.style.display = "none";
// }
// document.getElementById(index).style.display = "block";
2019-03-10 01:12:53 +02:00
// }