Hi
Apex version 4.2.6
I have dynamic action that fires PL/SQL. It's an on "Change" DA for item P1_INPUT.
It fires PL/SQL code
:P0_ITEM_CONTROL := '{"Item":"#P2_SIF_MT_INFO","State":"success"}';
Now I want to listen to this change ( of item P0_ITEM_CONTROL ) in my external JS.
$('#P0_ITEM_CONTROL').on('change', function() ....
Ofcourse you can only listen for changes that were made by typing into input itself so I have to add another TRUE action that fires JAVASCRIPT code and trigger change manually.
$('#P0_ITEM_CONTROL').trigger('change');
Which is unnecessary bloat cause. Is there any other way of triggering change?
First one that comes to my mind is creating one DA that listens to change of all items that I want my JS to trigger. Then manually trigger it from there.