diff options
author | Rasmus Luha <rasmus.luha@gmail.com> | 2023-02-05 20:43:17 +0200 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@gmail.com> | 2023-02-05 20:43:17 +0200 |
commit | 209b1915b0f1879d0055ea17f76464dddcf8089b (patch) | |
tree | a7b4077a0c239dba3f0e40b6463e2fb368b65eb3 /rannak/mangud/perenaine/ristsona/script.js | |
parent | ea90f1c8a5fb5b666113ee21f81a5530127a0517 (diff) |
Hinnad mäng for Arimees + fonts
Diffstat (limited to 'rannak/mangud/perenaine/ristsona/script.js')
-rw-r--r-- | rannak/mangud/perenaine/ristsona/script.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rannak/mangud/perenaine/ristsona/script.js b/rannak/mangud/perenaine/ristsona/script.js index e6f56c7..a76eda3 100644 --- a/rannak/mangud/perenaine/ristsona/script.js +++ b/rannak/mangud/perenaine/ristsona/script.js @@ -172,6 +172,11 @@ function getInputValue() { else{ kontrolliVastus(inputNr, inputVal.toLowerCase()); } + + // Clear input value + let inputs = document.querySelectorAll("input"); + for (let ipt of inputs) + ipt.value = ""; } |