Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在Ajax ModalPopUp. 有时,每当加载模式时,文本框都会在 Firefox 中冻结。它没有发生在 Internet Explorer -只是 Firefox中。
Ajax ModalPopUp
有什么建议么?
也许,只是也许,这是因为您有一些代码在显示对话框之前清除了文本框?也许,只是也许,那个代码进入了一个循环?我见过很多发生这种情况的地方——一个文本框既可以写入也可以读取。当太多的 GUI 更新发生时,Firefox 可能需要更长的时间,甚至在恢复活动之前将 CPU 固定在 100%。MSIE 不会经常这样做——它要么崩溃,要么只是从文本框中传递过时的数据。
删除清除文本框的代码,这应该会有所帮助。祝你好运!