简体   繁体   English

javascript没有响应

[英]javascript not responding

In my webapp I am receiving this message: 在我的webapp中,我收到此消息:

"A script on this page may be busy, or it may have stopped responding. You can stop the script now". “此页面上的脚本可能正忙,或者可能已停止响应。您可以立即停止脚本”。

What should I do? 我该怎么办?

That generally means that you have a script that is stuck in an infinite loop. 通常,这意味着您有一个陷入无限循环的脚本。 Stop the script and take a look at your javascript to see what it is doing. 停止脚本,然后查看您的JavaScript以查看其作用。

Many browsers have built in developer tools which will aid you in debugging your script. 许多浏览器都内置有开发人员工具,可帮助您调试脚本。 Use those tools to figure out why your script is behaving incorrectly. 使用这些工具来找出为什么脚本行为不正确。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM