While statement variable in JS script
I have this WHILE statement and it's creating variables. So what I want to do is put those variables in JS script outside of this WHILE statement. The problem that I have is that when I simply put variable into the JS it make them all the same for all elements created in WHILE.
While statement variable in JS script
===

I have this WHILE statement and it's creating variables. So what I want to do is put those variables in JS script outside of this WHILE statement. The problem that I have is that when I simply put variable into the JS it make them all the same for all elements created in WHILE.