js html tag valu

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