‘return’ statement outside the function
一般我都是在FF下进行网页代码调试,这次当在IE7下调试时,出现“return statement outside the function”,google了一下发现是.js代码中的中文注释引起的问题,删了.js里的中文注释就一切正常了.
但又出现一个问题,就是菜单无法显示,我试了试把另外一个网页的中文注释给删掉,又正常了.
我用的页面编码是utf-8,也许是这个引起的问题所在吧
Comments
Leave a Reply
You must be logged in to post a comment.
