Hi All,
Using APEX 5.1.3 with universal theme.
I have a normal page which opens up a dialog page. The dialog page has a cancel button and few page items.
On cancel button click I need to set the value of two page items to null and cancel the dialog. Seems like a walk in the park, not to be.
I create a dynamic action for cancel button click and true actions of 1) set value and 2) cancel dialog.
In the set value action I choose JavaScript expression and use below expression
$s("P40_TEST",null);
with page items included in affected elements
After this the dialog appears blank, because it does not like something in the JavaScript.
The program seems to work normally if I replace the above JS expression with alert('hi');
Please advise, how to solve this.
Thanks