js html tag valu

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

Also in JavaScript: