I have a very large JavasScript for loop running on one of my pages. It is so large that it is causing an IE popup in old versions that says something like: 'A script of this page is making it run slow, do you want to terminate it?'
I'm confident that I have optimized it as much as possible so now i'm looking for alternate ways to do it.
I'm wondering whether it would be beneficial for me to create an interval that ran the first 100 iterations, then the second 100 iterations, then the third and so on until all the iterations were complete? Would this prevent the IE popup claiming that the scripts are running too slow?