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