04-04-2009, 09:26 PM
|
#12 (permalink)
|
|
The Contributor
Join Date: Feb 2009
Posts: 65
Thanks: 0
|
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.
|
|
|
|