IE8 中的 createElement 错误
我在 IE8 中的以下行中收到以下错误(不在 IE9 或 chrome 或 firefox 中)
popup = document.createElement('div');
错误:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB7.1; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Fri, 5 Aug 2011 13:39:41 UTC
Message: Object doesn't support this property or method
Line: 72
Char: 5
Code: 0
URI: http://192.168.7.1/fquick/script.js
我该如何处理?
I am getting the follow error on the following line in IE8 ( not in IE9 or chrome or firefox )
popup = document.createElement('div');
Error :
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB7.1; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Fri, 5 Aug 2011 13:39:41 UTC
Message: Object doesn't support this property or method
Line: 72
Char: 5
Code: 0
URI: http://192.168.7.1/fquick/script.js
How do I go about it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将线路更改为
并且有效。有趣的。
Changed the line to
and it works. funny.