Using progress bars when initializing with a for loop? #552
Answered
by
NaotoshiFujita
pelledesign
asked this question in
Q&A
-
Hey, I'm trying to get my progress bars to work when initializing the sliders with a for loop as shown below.
and the HTML
|
Beta Was this translation helpful? Give feedback.
Answered by
NaotoshiFujita
Dec 3, 2021
Replies: 1 comment 1 reply
-
That's very common failure for variable scope. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
pelledesign
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's very common failure for variable scope.
https://stackoverflow.com/questions/750486/javascript-closure-inside-loops-simple-practical-example