to print value by getelementbyid in javascript code example Example: value from getelementbyid document.getElementById('numbers').value