Dapatkan nilai elemen html js

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