Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/gwt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Internet explorer 如何在gwt land中收听internet explorer关闭事件_Internet Explorer_Gwt - Fatal编程技术网

Internet explorer 如何在gwt land中收听internet explorer关闭事件

Internet explorer 如何在gwt land中收听internet explorer关闭事件,internet-explorer,gwt,Internet Explorer,Gwt,我想听听gwt land中的internet explorer关闭事件。可能吗?IE-7和IE-8会有所不同吗?实现Window.ClosingHandler。 Window.ClosingEvent将在浏览器窗口关闭或导航到其他站点之前触发。现在的问题是,在窗口关闭后,事件将被触发。我想在窗口关闭前触发事件。我基本上是在尝试确认关闭,然后使用窗口.ClosingEvent并在其上使用此消息从浏览器获得确认。

我想听听gwt land中的internet explorer关闭事件。可能吗?IE-7和IE-8会有所不同吗?

实现Window.ClosingHandler。
Window.ClosingEvent将在浏览器窗口关闭或导航到其他站点之前触发。

现在的问题是,在窗口关闭后,事件将被触发。我想在窗口关闭前触发事件。我基本上是在尝试确认关闭,然后使用
窗口.ClosingEvent
并在其上使用此消息从浏览器获得确认。