Forum Moderators: open
We are using a javascript to create a tree on a jsp. We are using the dtree.js available on the internet.
Everything is working fine except that we are getting an alert saying "The script you are running is causing the Internet Explorer to work slowly"..
Is there a way to disable this alert through javascript. We can do it by altering a registry entry and increasing the maxscriptstatements, but that is not possible as this application is used by many people over the internet.
Is there a way to hide/disable this alert in IE?
As of Internet Explorer 4.0 and later versions, the time-out is no longer a fixed value based on Windows messages. Internet Explorer now tracks the total number of executed script statements and resets the value each time that a new script execution is started, such as from a timeout or from an event handler, for the current page with the script engine. Internet Explorer displays a "long-running script" dialog box when that value is over a threshold amount.
So if you find that your script is running a particular "for" loop for a very long time, maybe you could optimize that bit of code?
[nczonline.net...]
[nczonline.net...]