I have a script that checks the value of a Div Id.
<div id="hour" style="display:none;">2</div>
<div id="min" style="display:none;">1</div>
<div id="sec" style="display:none;">3</div>
hour = document.getElementById("hour").innerHTML;
min = document.getElementById("min").innerHTML;
sec = document.getElementById("sec").innerHTML;
Works in Chrome, but not in Internet Explorer (Which is where I need it to work)
It gives me the error, "Object doesn't support this property or method"
What is the easier way (preferably one line) to get around this?