質問

How to overwrite page onunload event in javascript witha custom dialog ? Please suggest.

This question has been asked many times but I was unable to find a proper solution.

役に立ちましたか?

解決

You can do this <body onunload="myFunction()"> in your html file, and put your custom stuff into the myFunction. You can do many cool things like this, a list can be found here.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top