本文介绍了window.onunload在IE6中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


i在IE6中使用window.onunload()方法,它在本地运行罚款,但它在Integration Box(Linux环境)中不起作用,我有写了一个简单的alert()语句来检查它是否真的触发了那个事件alert()语句也没有工作似乎它自己没有触发的事件。但它在IE7和FireFox中运行良好。


这是我的代码片段:

hi all,

i am using window.onunload() method in IE6, it works fines in local, but it does not work in Integration Box(Linux Environment), i have written a simple alert() statement to check whether it does really trigger that event alert() statement is also not working it seems event it self is not triggering. But it works fine in IE7 and FireFox.

here is my code snippet:

展开 | 选择 | Wrap | 行号

推荐答案




感谢您的快速回复


i我在我的jsp onbeforeunload中使用flash内容在我的flash加载时被解雇为什么我我不明白。


如何使用onunload,导致未执行的可能原因是什么。


紧急:(


谢谢,

rakesh。

Thanks for Quick Reply

i am using flash content in my jsp onbeforeunload is getting fired when my flash is loading why i havent understood that.

how can i use onunload, what are the possible causes for getting not executed.

urgent :(

thanks,
rakesh.



这篇关于window.onunload在IE6中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-13 17:23