开发者

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.开发者_如何学C


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜