document get element by id text code example Example: value from getelementbyid document.getElementById('numbers').value