get input field value in javascript object code example
Example 1: value from getelementbyid
document.getElementById('numbers').value
Example 2: javascript input field
<!DOCTYPE html>
<html>
<body>
<input> Here is your inputfield </input>
</body>
</html>