Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Jacvascript - confirm (default cancel)

tdobeJun 14 2019 — edited Jun 21 2019

Hello,
I have several procedures in a dynamic action.

0 <--- there?

1. Execute PL SQL
2. JavaScript Execute No. 1
3. Execute JavaScript No. 2
4....


The dynamic action is set to work when the "ENTER" key is pressed (in javascript expression: this.browserEvent.which === 13)

I need that before the three tasks are done, the question arises whether I should continue. The problem is that such a question should contain OK and Cancel buttons, but for the DEFAULT button to be "Cancel": In this question I would like to be able to execute Javascript code - for example to calculate what to display in the question.

The default javascript confirm works perfectly, after pressing "Cancel" the rest of the procedures will not be performed, the problem is that by default the "OK" key has been set ...

Thx

Comments
Post Details
Added on Jun 14 2019
5 comments
1,100 views