summaryrefslogtreecommitdiff
path: root/rannak/mangud/perenaine/ristsona/script.js
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@gmail.com>2022-09-19 18:44:57 +0300
committerRasmus Luha <rasmus.luha@gmail.com>2022-09-19 18:44:57 +0300
commitffdb767de352bb82253e241b6ad996e7b06fee17 (patch)
tree54db5f88b38025db883a2a6ef46be32edba2ec67 /rannak/mangud/perenaine/ristsona/script.js
parent40d015a15bee7d0a51c28e20c29ff7045419b8f5 (diff)
ristsõna css done
Diffstat (limited to 'rannak/mangud/perenaine/ristsona/script.js')
-rw-r--r--rannak/mangud/perenaine/ristsona/script.js8
1 files changed, 8 insertions, 0 deletions
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(){