Getting SCRIPT1014: Invalid character in IE from local js file

前端 未结 1 990
清歌不尽
清歌不尽 2020-12-19 08:34

I\'m developing a site which is stored locally, and works great in all browsers I\'ve tested except for any versions of IE. It gives me \"SCRIPT1014: Invalid character\" for

相关标签:
1条回答
  • 2020-12-19 09:33

    There is a similar problem here: SCRIPT1014: Invalid character

    I would check the browser security settings for local scripts.

    You can try adding this to your page and see if it works:

    <!-- saved from url=(0016)http://localhost -->
    

    or you can set the 'local intranet' zone to low and disable protected mode if on.

    http://msdn.microsoft.com/en-us/library/ms537628(v=vs.85).aspx

    Edit: Answer in comments - cleared browser cache.

    0 讨论(0)
提交回复
热议问题