AJAX implementation in APEX
APEX introduced AJAX supports in version 2.0 (the product was called HTML DB back then). The support includes a dedicated AJAX framework that allows us to use AJAX in our APEX applications, and it covers both the client and the server sides.
AJAX support on the client side
The APEX built-in JavaScript library includes a special JavaScript file with the implementation of the AJAX client-side components. In earlier versions this file was called htmldb_get.js
, and in APEX 3.1, it was changed to apex_get_3_1.js
.
In version 3.1, APEX also started to implement JavaScript namespace in the apex_ns_3_1.js
file. Within the file, there is a definition to an apex.ajax
namespace.
Note
I'm not mentioning the names of these files just for the sake of it. As the AJAX framework is not officially documented within the APEX documentation, these files can be very important and a useful source of information.
By default, these files are automatically loaded into every application page...