Sid
Sid

Reputation: 4997

Javascript error - Blocking IE performance

I am trying to run a script, which is intense(that is lot of loops etc.). When I am trying to call this method in loop, I am getting an error:

"The JavaScript operation is blocking the normal operation of IE. Do you want to stop running the script?" Yes No.

Is there something I am missing? I have seen worse scripts running just fine.

Upvotes: 1

Views: 105

Answers (1)

Garis M Suero
Garis M Suero

Reputation: 8169

If your script does that, you might want to re-engineer your code.

If your code really need to loop for that long you will be dealing with some timeouts in your script to stop every time you think is necessary to avoid this "behavior"...

I recommend to check this post JavaScript and Threads

Upvotes: 1

Related Questions