Obter valor do elemento html js

var value = document.getElementById("theInput").innerHTML;
drinktoomuchcoffeeandthinkofyouoften