This commit is contained in:
2019-07-29 11:25:22 +02:00
parent de835f27aa
commit 6f5b8b219d

View File

@@ -7,7 +7,7 @@
<form>
<label for="laufzeit">Dauer einer Schnensch Aktion</label>
<input id="laufzeit" type="number"></input>
<button id="calc" onclick="calc" type="button" value="Calculate!"></button>
<button id="calc" click="calc" type="button" value="Calculate!"></button>
</form>
<h1 id="lensch"></h1>
@@ -23,6 +23,7 @@
req.onreadystatechange = function () {
if (this.readyState === 4 && this.status === 200) {
console.log(this.responseText);
lensch.value = this.responseText;
}
}