Hi all,
I am currently working with version APEX 19.1.2.
I am struggling to get this actually very simple JavaScript to work from an OnChange DA but it does not work. I am trying to populate a page item with a value I calculated by using the apex.item().setValue(); function. I also tried the $v("Px_ITEM ", value); function but it does exactly the same. It does not populate.
I've been through quite a few questions and discussions on the site but everything is telling me this should work fine. For the sake of testing, I've stripped my code to the bare bone just to get the thing to work but nothing doing. The page item just does not populate. If I use the Set Type Static, and give it the same value it works fine, but not wit the JavaScript expression or a JavaScript Action.
What am I not getting? What am I doing wrong? Any help, comments, suggestions greatly appreciated as usual;
Thanks,
Jake
Below are my settings:
Identification
Action: Set Value
Settings
Set Type: JavaScript Expression
JavaScript Expression: apex.item("226_TOTAL_BORDEREAU").setValue("99");
Suppress Change Event: No
Affected Elements
Selection Type: Item(s)
Item(s): P226_TOTAL_BORDEREAU
Execution Options
Sequence: 20
Event: OnChangeQtePrix
Fire When Event Result Is: True
Fire on Initialization: No
Stop Execution On Error: Yes
Wait For Result: Yes