Databases Reference
In-Depth Information
■
Note
With APEX 4.0, manually creating AJAX functions is not required because the same functionality can
easily be provided by a dynamic action of type PL/SQL. This example is solely to demonstrate how things work and
is not a recommended practice for making AJAX calls in APEX 4.0 and higher.
1.
Create a new blank page with the following attributes:
Page Number:
30
Name:
AJAX (Old)
HTML Region 1:
My Region
Tab:
AJAX (Old)
2.
Edit the new page, Page 30, and create a new page item in
My Region
with
the following attributes:
Item Type:
Number Field
Item Name:
P30_X
3.
Create a region button with the following attributes:
Button Name:
Run AJAX
Button Alignment:
Left
Action:
Defined by Dynamic Action
If you run Page 30, it should now look like Figure 5-5.
Figure 5-5. AJAX demo page