I'm working on a
J2EE application and, for some reason, Internet Explorer (7) occasionally locks up on me (it will freeze, go into "Not Responding", and has to be killed manually through the task manager). I have not tested this extensively with other browsers as my user-base is primarily IE-only. I have one page, in particular, that uses a lot of
Java Script for the UI controls - this is the page that is giving me trouble. I am using both JQuery and Scriptaculous on the page.
I'm having a very difficult time debugging this for a couple reasons.
1. It only happens intermittently and almost never on my system.
2. When it does lock, it doesn't lock up "in my code". Rather, the browser will lock up when a user clicks on a control. Most often, the user will click on a span with an onclick and the browser will lock up prior to invoking the onclick method. Just yesterday, though, the browser locked up when a user tried opening a drop-down list, which has no onclick associated with it.
My best guess, at this point, is that I have a memory leak going on. Unfortunately, I've been unable to identify it with certainty and, most certainly, I haven't been able to fix it. I believe the issue lies in this code (although I'm not certain):
This code is invoked any time someone wants to add an "indicator" to the page. It's not essential to know what an indicator is, but it is represented with a single line of text. Beside that line of text is a little graphic "Minus.gif" that allows the user to click on the element and remove it from the page.
Is there anything here that looks like it could cause problems? I realize this is a rather vague question, but I'm very unsure of exactly where this problem lies. This is my best guess.
Thanks.