带有IE 8.0.7600的Windows 7中带有document.write()错误的Window.open() - “标记无效” [英] Window.open() with document.write() error in Windows 7 with IE 8.0.7600 - "The tag is invalid"
问题描述
我有Windows 7与IE 8.0.7600,我得到一个"标签无效"我使用一个简单的Javascript window.open()命令时出错,该命令打开一个空白窗口,该脚本由document.write()命令填充。此代码适用于所有其他浏览器。我已经尝试了很长时间才能找到一个安全设置来防止这个错误但是空了。有没有其他人经历过这个并遇到答案/修复?我感谢任何人的帮助!谢谢。
I have Windows 7 with IE 8.0.7600 and I get a "Tag is Invalid" error when I use a simple Javascript window.open() command that opens a blank windows that is scripted to be populated by a document.write() command. This code works on all other browsers. I have tried for a long time to find a security setting that will prevent this error but have come up empty. Has anyone else experienced this and come across an answer/fix? I appreciate anyone's help! Thanks.
推荐答案
您好RB,
请提供指向您网页的链接或指向以简单形式演示问题的测试页。
Please provide a link to your page or a publicly accessible link to a test page that demonstates the issue in a simple form.
您是否已验证标记并更正了严重错误。
Have you validated your markup and corrected the critical errors.
"标记无效" - http://technet.microsoft.com/en-us/library/cc940527.aspx
"Tag is Invalid" - http://technet.microsoft.com/en-us/library/cc940527.aspx
mmm。 XHTML
mmm. XHTML
在IE8(所有操作系统版本)中进行测试时,应确保已将IE安全区域设置设置为其"工厂"建议的默认值。工具>互联网选项 - 安全标签,点击"将所有区域重置为默认值"。
When testing in IE8 (all OS versions) you should ensure that you have set the IE Security zone settings to their 'factory' recommended defaults. Tools>Internet Options - Security tab, click "Reset all zones to default".
在您提供指向您网站的链接之前,我不会给您更多帮助...否则我们只是在猜测。我也想知道答案。
I am not going to give you more help until you provide a link to your site... otherwise we are just guessing. I would like to know the answer also.
如果你不能提供链接,那么至少验证你的标记,不要调整IE的安全区域设置,以期解决问题。 ..你的网站访客不能这样做。
If you can't provide a link, then at least validate your markup, do not tweak IE's security zone settings in the hope of fixing things... your web site visitors cannot do that.
问候。
这篇关于带有IE 8.0.7600的Windows 7中带有document.write()错误的Window.open() - “标记无效”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!