get element value in javascript code example Example: value from getelementbyid document.getElementById('numbers').value