What happens when you execute runjavascript in a loop ? Does page get submitted automatically ? There are no errors in console. Page is getting updates from runjavascript function but not in each loop. So progress bar get stuck on 0% and then will move to 45% after some time. As I am using stepsize to divide total elements into 20 parts, it should happen like 5%, 10%, 15 %.. etc. and this is how it works on development environment.
I think my main question is how runjavascript submit changes to page. I would assume at the end of the request in which case I need to use ajax refresh but clearly this is not what is happening on development environment.
I think my main question is how runjavascript submit changes to page. I would assume at the end of the request in which case I need to use ajax refresh but clearly this is not what is happening on development environment.