window.onload = function () { document.getElementById("helloButton").onclick = sendRequest; };