How to get innertext of a DIV using javascript?
html, javascript
Solution
Suppose you have a div declared as:
<div id="someDiv">
some content goes here
</div>
You can get its value by:
// javascript
document.getElementById("someDiv").innerHTML
// jquery
$("#someDiv").html()
Problem
How to get inner text of a DIV controller using java script?