为了账号安全,请及时绑定邮箱和手机立即绑定

Invalid Character Error

Invalid Character Error

凤凰求蛊 2018-12-10 10:05:23
I get the following error message:<br><br>Line: 2<br>Char: 1<br>Error: Invalid character<br>Code: 0<br><br>I remember running the page in question without any error messages in the past. Moreover, the line in question contains no JavaScripting.<br><br>What is the cause of this error and how can it be avoided?<br><br>This error seems to be quite unspecific. Now I receive it when I place a page in a frameset. When the page is run directly, not from within the frameset, no error message appears. Any ideas why this happens? The page in question is different from the above example.<br><br>P.S. The problem seemed to be again missing javascript source in the newly generated html source. It's interesting that both the standalone and the frameset versions reported the error when I uploaded them to the above URL. Only the frameset version gives the error when the files are tested from my drive.<br>
查看完整描述

2 回答

?
慕哥9229398

TA贡献1877条经验 获得超6个赞

行1 字符1 错误:无效字符 ------------------------- 怀疑是JS文件的编码有问题,或者你直接打开你的JS,看是不是有效的JS格式,如果JS是由程序动态生成的,这种问题比较普遍,有可能程序抛出了异常而并没有返回正确的JS代码

查看完整回答
反对 回复 2018-12-14
?
跃然一笑

TA贡献1826条经验 获得超6个赞

肯有英文写出来真是不简单~~我虽然看的懂。。就是写不出来 哈哈! 至于可能的情况 2楼说了~我也想不出其他的原因了

查看完整回答
反对 回复 2018-12-14
  • 2 回答
  • 0 关注
  • 804 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信