buzzer/data/script.js

6 lines
141 B
JavaScript

function play() {
console.log("Play...");
var xhttp = new XMLHttpRequest();
xhttp.open("GET", "play", true);
xhttp.send();
}