Search code examples
javascriptcssinternet-explorerietester

How do I locate an Internet Explorer script error?


I'm finishing up my website. Noticed I have some scripting issues in IE7 and IE8. Using IETester (any better alternative btw?) IE9's debug tools I can test my website for different IE versions.

Updated Example:

enter image description here

I use JQuery and some 3th party htc files for IE css hacks. "Line 87" is just a html line so that's not where the error occurs.


Solution

  • The IE Developer Tools (built into IE8+) has a JS debugger that will break on errors.

    Hit F12 to open it, select the Script tab, then click the Start Debugging button.