Results 1 to 6 of 6
Dec 3, 2011, 21:55 #1
- Join Date
- Jul 2008
- New York, NY
- 0 Post(s)
- 0 Thread(s)
I come to you in need of help. If anyone could help me out, I'd greatly appreciate it.
When I click "End", it doesn't destroy (lack of a better word) the setTimeout function.
You'll notice the json file is called, at some point 6 times
I left a console.log in the code to show you the issue I speak of (so ensure you have your console open).
By default the json file should load once, then upon clicking "Start", the json file needs to be called (every x secs) until "End" is clicked (in which case the polling will stop).