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