gpt4 book ai didi

internet-explorer - IE 6/8 上的 ExtJs 奇怪行为 : 'locked' is null

转载 作者:行者123 更新时间:2023-11-30 23:47:39 24 4
gpt4 key购买 nike

我用 ExtJS 开发了一个页面。它适用于 FF、Chrome 和 Opera,但不适用于 IE。

在 IE 中,我有这条消息:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0) Timestamp: Mon, 20 Jun 2011 15:51:23 UTC

Message: 'locked' is null or not an object Line: 14364 Char: 13 Code: 0 URI: http://192.168.240.129/lib/ext4/ext-all-debug.js

Message: Exception thrown and not caught Line: 25281 Char: 9 Code: 0 URI: http://192.168.240.129/lib/ext4/ext-all-debug.js



我不知道为什么它指的是“锁定”。我的页面中没有锁定变量或其他变量。

谢谢,如果你有一些想法或答案。

最佳答案

你的一些失败的源代码真的很有帮助。

但这是我要弄清楚发生了什么。使用 firebug 的堆栈跟踪来跟踪代码中的哪个组件出现故障。您需要密切关注 DOM ID。

您还可以从注释掉可疑面板开始。一旦您确定了存在问题的面板,您就可以将问题缩小到出现故障的确切组件。

至于您关于什么是“锁定”的问题,您可以引用 API 以查看哪些类具有某种锁定。就在我的头顶上,我可以想到一些,例如 CheckBoxSelection 模型。

关于internet-explorer - IE 6/8 上的 ExtJs 奇怪行为 : 'locked' is null ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6414012/

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