Databases Reference
In-Depth Information
Note Console is available in most browsers (except for Internet Explorer (IE) 8 and earlier). The following list
describes how to view the console output in each of the major browsers:
Firefox: Install FireBug ( http://getfirebug.com ) - F12
￿
Google Chrome: Ctrl+Shift+J
￿
Safari: Ctrl+Alt+C
￿
Internet Explorer 9: F12
To demonstrate a condition which uses a JavaScript expression, add an additional Number Field
item on Page 1 called P1_X . Change the condition in the Show Hide EmpNo Dynamic Action from is not
null to JavaScript Expression. In the Value text area enter: this.triggeringElement.value >
$('#P1 X').val() as shown in Figure 7-18. Refresh the page and enter 20 in the P1_X field. When you
change the department the list of employees will only appear when you select Operations (40) and Sales
(30). You'll notice that if you change the value of P1_X the condition will evaluate accordingly without
having to submit the page or set the value in session state.
Figure 7-18. JavaScript condition
Advanced
The When section defines the events and objects that APEX should listen to. The Advanced section
defines how the events are bound to the objects. There are three different ways to attach an event to an
object, as shown in Figure 7-19.
Search WWH ::




Custom Search