js get input value by id code example
Example 1: value from getelementbyid
document.getElementById('numbers').value
Example 2: Javascript get text input value
var inputValue = document.getElementById("myTextInputID").value;
Example 3: get value from textbox in vanilla javascript
document.getElementById("myText").value = "Johnny Bravo";