how to get element by id and then get value inside code example Example: value from getelementbyid document.getElementById('numbers').value