JS HTML Tag Value

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