Oracle Application Express (MOSC)

MOSC Banner

Apex 5 Function and Global Variable Declaration section - java script not working

edited Oct 27, 2016 5:00AM in Oracle Application Express (MOSC) 1 commentAnswered

The java script migrated from Apex 4 to Apex 5 is not working correctly in Apex 5. While debugging pages in the application, the type of errors generated are similar to the following: "Variable 'ABC' is undefined" (ABC is declared as 'var ABC;' - a global in the java script) The issue was resolved by moving the javascript from the Function and Global Variable Declaration section  to a new static java script file and then referencing the java script file from the Page Header. Unfortunately I've had to perform this task on every page in order to call any java

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center