Need to find actual location of line/char in Internet Explorer Script errors?

前端 未结 4 1650
难免孤独
难免孤独 2021-02-19 16:41

I\'m receiving a script error in IE:

Line: 59 Char: 71 Error: Expected identifier, string, or number Code: 0

Line 59, character 71 don\'t seem to actually corres

4条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-19 16:51

    I would recommend trying out the same page in IE8, if you haven't done so already. If the error doesn't happen, try switching IE8 to Compatibility View.

    If you do get the error to occur, then the built-in Developer Tools are very good at finding exactly where the problems in the Javascript occur.

提交回复
热议问题