首页 新闻 会员 周边 捐助

Invalid Character Error

0
[已解决问题] 解决于 2008-07-16 16:57
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>
问题补充: IE提示 行1 字符1 错误:无效字符 什么原因 JS没有错误呀
kaixin110的主页 kaixin110 | 初学一级 | 园豆:16
提问于:2008-07-16 11:44
< >
分享
最佳答案
0
行1 字符1 错误:无效字符 ------------------------- 怀疑是JS文件的编码有问题,或者你直接打开你的JS,看是不是有效的JS格式,如果JS是由程序动态生成的,这种问题比较普遍,有可能程序抛出了异常而并没有返回正确的JS代码
丁学 | 专家六级 |园豆:18730 | 2008-07-16 14:01
其他回答(3)
0
你不会中文?中国人之间中文更有利于沟通
玉开 | 园豆:8822 (大侠五级) | 2008-07-16 13:20
0
啧啧 肯有英文写出来真是不简单~~我虽然看的懂。。就是写不出来 哈哈! 至于可能的情况 2楼说了~我也想不出其他的原因了
Allie | 园豆:707 (小虾三级) | 2008-07-16 16:02
1

InvalidCharacterError

神仙一族 | 园豆:202 (菜鸟二级) | 2013-04-15 19:31
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册