JavaScript Obtenha o valor de entrada de texto
var inputValue = document.getElementById("myTextInputID").value;
Grepper
var inputValue = document.getElementById("myTextInputID").value;
var value = document.getElementById("theInput").innerHTML;
var value = document.getElementById("theInput").innerHTML;