Well after a while of scratching my head and going \"huh?\" trying to figure out why IE would straight up crash when loading one of my pages loaded with jQuery goodness, I narro
Step through the code in IE's debugger (with a non-minified jQuery) and see what line it dies at.
.hide()
is just a wrapper for setting the elements style to display:none
. Have you tried document.getElementById("#questions").style.display = "none"
just to see if that makes any difference? It might help you pinpoint whether jQuery itself is causing a conflict.
Turn off extensions.
It is extremely unlikely that javascript is your only problem.
Your problem obviously is not div#questions
itself. Can you try removing (or commenting out) all of div#questions
's contents and adding each element back, one at a time, until IE starts crashing again?
Once you've found the culprit, then do the same thing again for that element, removing all of its contents and adding each element back, testing after each one.
Keep doing this until you find the real source of the problem. I know this is a pretty low-tech solution, but often it's also the quickest one.
In my case was the Fiddler ad-don the causer of the IE crashs on mshtml.dll.