My Oracle Support Banner

JavaScript Call In <af:clientListener> With "type=beforeunload" Not Working (Doc ID 2830321.1)

Last updated on DECEMBER 29, 2021

Applies to:

Oracle JDeveloper - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

Trying to invoke a JavaScript when page closes by using <af:clientListener> with "type" set to "beforeunload", but JavaScript is not invoked during "beforeunload" event, and may even be called during "onload" event instead.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.