Update
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<form>
|
<form>
|
||||||
<label for="laufzeit">Dauer einer Schnensch Aktion</label>
|
<label for="laufzeit">Dauer einer Schnensch Aktion</label>
|
||||||
<input id="laufzeit" type="number"></input>
|
<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>
|
</form>
|
||||||
<h1 id="lensch"></h1>
|
<h1 id="lensch"></h1>
|
||||||
|
|
||||||
@@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
req.onreadystatechange = function () {
|
req.onreadystatechange = function () {
|
||||||
if (this.readyState === 4 && this.status === 200) {
|
if (this.readyState === 4 && this.status === 200) {
|
||||||
|
console.log(this.responseText);
|
||||||
lensch.value = this.responseText;
|
lensch.value = this.responseText;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user