gpt4 book ai didi

javascript - 脚本5007 : Unable to get value of the property 'SetReturnValue' : object is null or undefined

转载 作者:行者123 更新时间:2023-12-04 19:47:37 25 4
gpt4 key购买 nike

我有一个在所有其他浏览器中都能完美运行但在 IE 中中断的页面。来自调试器的错误是:

SCRIPT5007:无法获取属性“SetReturnValue”的值:对象为空或未定义

当我单击 Flash 对象中的按钮调用函数时会发生这种情况。 Flash 文件中的所有按钮都不能在 IE 中工作,但在其他浏览器中都可以正常工作。有人有想法么?我用谷歌搜索,真的无法从那里的答案中弄清楚。

网址是http://capitolomaha.com/reservations/

非常感谢任何帮助,这让我很困惑。

最佳答案

http://msdn.microsoft.com/en-us/library/gg622942%28v=VS.85%29.aspx

基本上,如果您的 Flash 组件嵌入了带有 embed 标签后备的对象标签,并且对象 ID 和嵌入名称相同,则 IE9 会中断 Flash ExternalInterface 调用。

最简单的解决方法是告诉 ie9 以 IE8 标准模式呈现您的页面。
为此,将其插入元素中:

<!-- Enable IE8 Standards mode -->
<meta http-equiv="X-UA-Compatible" content="IE=8" >

否则,您可能只想使用对象标签或仅嵌入标签。

关于javascript - 脚本5007 : Unable to get value of the property 'SetReturnValue' : object is null or undefined,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7523509/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com