Hi i have a div that has a 0 value by default, all values it will contain are numeric.
<div id="v5">0</div>
I trying to read the value of the innerHTML but am having no luck, is this possible? This is what i have so far:
if (document.getElementById("v5").innerHTML.value > 0) {
any suggestions?
<div id="v5">0</div>
I trying to read the value of the innerHTML but am having no luck, is this possible? This is what i have so far:
if (document.getElementById("v5").innerHTML.value > 0) {
any suggestions?