how to get values from document form using javascript code example Example: value from getelementbyid document.getElementById('numbers').value