From 209b1915b0f1879d0055ea17f76464dddcf8089b Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Sun, 5 Feb 2023 20:43:17 +0200 Subject: =?UTF-8?q?Hinnad=20m=C3=A4ng=20for=20Arimees=20+=20fonts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rannak/mangud/perenaine/ristsona/script.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rannak/mangud/perenaine/ristsona/script.js') 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 = ""; } -- cgit v1.2.3