In Firefox Click Event Does Not Fire After On-change On Input Field (Doc ID 2039117.1)

Last updated on FEBRUARY 09, 2017

Applies to:

Oracle Application Express (formerly HTML DB) - Version 4.2.3.00.08 and later
Information in this document applies to any platform.

Symptoms

Problem :
========
Oracle APEX 5.0 is used with Firefox 39

Reproduced :
------------
Firefox 39 + Apex 4.2.3.00.08, 4.2.5.00.08, 5.0

Not Reproduced  :
------------------
Chrome
IE

STEPS TO REPRODUCE :
------------------
An input field (P1_X).
On this field we define an `onchange dynamic action¿.
This dynamic action executes a PL/SQL statement (null;) and next a Javascript
statement (console.log('change event triggered');).
A region button (click_button). On this button we define an `onclick dynamic
action¿. This dynamic action only executes a Javascript statement
(console.log('click event triggered');).

If a value is entered in the input field, then click the button (without
having left the input field), in console only the change event is triggered.

Also the button appears to be still clicked (darker color, pressed down). If
the button is pressed again, the click event will finally be triggered.

In Firefox console, where the console.log and other (error)messages are
displayed.
Access it by pressing F12 and then click the Console tab.

In that, can only see the text "Change event triggered".
The line "Click event triggered" is not displayed,
so it concludes that the click event from the dynamic action bound to the
click_button is not executed.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms