The onunload event occurs when the user leaves the page.
onunload事件在用户离开页面时发生。
For example, the tag has the onload and onunload attributes.
例如,标记拥有onload和onunload属性。
Keep in mind that the HTML 4.0-style attribute syntax, used for onunload in Listing 1, registers observers for the bubbling phase.
要记住,对于清单1中onunload所用的HTML 4.0风格的语法,观测者被注册到冒泡阶段。
Use a dijit's destroyRecursive() in the iWidget's onUnload() function to destroy it.
在 iWidget 的onUnload()函数中使用dijit 的destroyRecursive()来销毁它。
Use a dijit's destroyRecursive() in the iWidget's onUnload() function to destroy it.
在 iWidget 的onUnload()函数中使用dijit 的destroyRecursive()来销毁它。
应用推荐