04-04-2009, 09:50 PM
|
#15 (permalink)
|
|
The Gregarious
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
|
Quote:
Originally Posted by Krik
The "innerHTML" of the "mycount1" div is
HTML Code:
<span class="style6"><span class="style8"><span class="style9"></span></span></span>
So "<span class="style6"><span class="style8"><span class="style9"></span></span></span> - 1 = NaN".
If you must have all those spans, which looking at them I question their propose but make a mess of your code, set the id of the one the holds the numeric value to mycount1, mycount2 ect.
Also looking at your code again you still havn't place a numeric value inside of any element for the javascript to retrieve and modify. All 4 starting numbers must be there or nothing will happen.
|
Sorry for the messy code, I don't need the SPAN's, I just wanted to make the layout look nicer and then once I figure it out, I would go back in and clean up the code.
I thought I was calling the element correctly? In the countdown column, I have this DIV tag...
Code:
<div align="center"><div id="<? echo $mycount; ?>"></div></div>
|
|
|
|