From ffdb767de352bb82253e241b6ad996e7b06fee17 Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Mon, 19 Sep 2022 18:44:57 +0300 Subject: =?UTF-8?q?rists=C3=B5na=20css=20done?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rannak/mangud/perenaine/ristsona/script.js | 8 ++++++++ 1 file changed, 8 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 eac2fc2..01f4ad5 100644 --- a/rannak/mangud/perenaine/ristsona/script.js +++ b/rannak/mangud/perenaine/ristsona/script.js @@ -1,6 +1,14 @@ console.log("Brrrr");; let counter = 0; +function getInputValue() { + // Selecting the input element and get its value + let inputVal = document.getElementById("inputId").value; + // Displaying the value + alert(inputVal); + } + + // Button func function moveOnEnable(){ -- cgit v1.2.3