Javascript setTimeout(); for ProgressBar doesn't work
On my website I have a progressbar and when I click the Download button,
the progressbar starts. By the way I want it to progress a bit slowly, so
I thought I could use setTimeout();.
http://jsfiddle.net/pHxSy/9/
If you look at that jsfiddle, when you click the Download button anything
happens. I've tested it on firefox and the console tells me
ReferenceError: startTime is not defined.
How could I fix this?
No comments:
Post a Comment