Update
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user