Jump to content

not responding script


orkun

Recommended Posts

helloIn my web application I receive this alert message. "A script on this page may be busy, or it may have stopped responding. You canstop the script now".what may be the problem ?how can I solve the problem ?regardsAhmet Temiz

Link to comment
Share on other sites

You may have an infinite loop. Look at all of your while or for loops. See if the test condition can ever REALLY be satisfied. It could be that a counter of some sort will always be greater or less than the value you're testing for, or that it gets reset with every iteration. The same kind of thing can happen if you call a function recursively.Sometimes you can test these things by outputting the value of your test variables in a temporary div somewhere. (Using an alert is NOT a good idea in this situation.)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...