I have a loop which should be updating a progress bar as the loop increments, however it\'s only colouring the progress bar in one go after the loop has actually finished. I
Try increasing the time in your setTimeout period. When I had a similar issue, we used a gap of 200 milli seconds and it worked.