Hi,
The problem isn't in the code you quoted. If you can create a
minimalist, self-contained example[1] of the problem and post it to
pastie.org or jsbin.com or similar, we may be able to figure it out.
[1] http://proto-scripty.wikidot.com/self-contained-test-page
-- T.J.
On May 24, 5:58 pm,
Hello Sir,
Following is the location for the HTML code : http://pastie.org/976149
and Here is the Countdown.js file code : http://pastie.org/976164
I have deleted unnecessary functions from the js file.
However Google Chrome javascript debugger gave me the following error
description at
Hi,
This line:
for (var key in _arrCountDownSeconds)
...is doing what I said in my original reply:
* The count-down code is using `for..in` to loop through an array. If
so, it's broken and needs to be fixed, more here:
http://proto-scripty.wikidot.com/prototype:tip-looping-through-arrays
Hi,
The issue is as soon as I add a script tag referring to the
prototype.js file, my countdown timer stops working.
You'll have to give us more information to work with, stops working
is pretty vague.
There could be any number of reasons for this. Two high-probability
ones that come to mind: