get the value of input type using javascript code example
Example 1: value from getelementbyid
document.getElementById('numbers').value
Example 2: get value from textbox in vanilla javascript
document.getElementById("myText").value = "Johnny Bravo";