References

Collection of references for web development.

HTML onbeforeunload event

Description

Execute JavaScript code before the document is unloaded.