javascript by id value code example
Example 1: value from getelementbyid
document.getElementById('numbers').value
Example 2: Javascript get text input value
var inputValue = document.getElementById("myTextInputID").value;
document.getElementById('numbers').value
var inputValue = document.getElementById("myTextInputID").value;