diff options
Diffstat (limited to 'rannak/mangud/perenaine/ristsona/script.js')
-rw-r--r-- | rannak/mangud/perenaine/ristsona/script.js | 8 |
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(){ |