Reputation: 2011
I have a website that is crashing internet explorer on certain users computers. I'm lucky enought hat a few people h\ve contacted me to tell me otherwise i wouldnt know anuthing about it.
It doesnt happen on everyones PC so I'm a bit lost as to what is causing IE to crash. The website uses jquery 1.4.2. What is the best way ot trapping the error so i can find out what's going on?
Thanks Al
Upvotes: 0
Views: 201
Reputation: 449385
First, find a computer where you can reproduce the problem. Compare browser versions and Windows versions.
Microsoft has a Script debugger that is actually pretty good once you get it running, but in this case, a more primitive but simple and effective method is to put an alert()
into the source code until the point is reached where things crash.
Upvotes: 1
Reputation: 16121
Which version of IE are they seeing the crash on? IE6 is notorious for crashing on even simple css or HTML, such as these:
<style>*{position:relative}</style><table><input></table>
or
<script>for (x in document.write) document.write(x);</script>
Upvotes: 0
Reputation: 3171
I agree with Pekka,
Some code is crashing some IE's, and you need to find where it is.
I suggest alert('bla bla'); method to locate the problem.
Upvotes: 0