How do I set a single value to multiple variables without using arrays?
so this is how it breaks down:
as you can see, these div ids have a text color attribute of 'black'. i have to set 6 of these variables to the same value, which is annoying to say the least when doing it manually. i can not use an array because the div id's can not be arrays.
so the question is, how can i use a for loop to set the same value for all of these div id's?
i was thinking something along the lines of this:
for (var x = 0; x <= 2; x++)
(disableDiv + x) ='black'