how to get the value of a text input javascript on button click code example
Example: get value from textbox in vanilla javascript
document.getElementById("myText").value = "Johnny Bravo";
document.getElementById("myText").value = "Johnny Bravo";