开发者

unload in firefox

I have a client register startup script like so:

" " + "document.body.onunload = clea开发者_如何学JAVArSession; " + "";

The script works fine in IE8 by calling the clearSession() client script but not with firefox. can anyone help please?

thanks


Use window.onunload instead?

https://developer.mozilla.org/en/DOM/window.onunload

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜