Select list with javascript in the apex oracle

1.2k Views Asked by At

I use javascript for select list let's call it max_mode item. with logical terms like this, for counter redeem = 1 and 3,

$('#P223_MAX_MODE').find('option').remove().end(); 
$("#P223_MAX_MODE").append('<option value=4>Program</option>');

and for false conditions,

$('#P223_MAX_MODE').find('option').remove().end();
$("#P223_MAX_MODE").append('<option value=2>Day</option>');
$("#P223_MAX_MODE").append('<option value=3>Month</option>');
$("#P223_MAX_MODE").append('<option value=8>Week</option>');
$("#P223_MAX_MODE").append('<option value=9>Year</option>');

this process and conditions are running well, but when the update select list was changed not according to the initial conditions. In the dynamic action settings in true and false conditions, I change the fire on Initialization to 'yes'. and the javacsript was active in an updated state. but the problem is, the stored return value data is not called when updating. How can I solve this ?

enter image description here

enter image description here when Initialization is set to 'no', return value is active.
but the dynamic javascript action is not called when Initialization is set to 'yes', return value is not active.
but dynamic javascript actions can be called

1

There are 1 best solutions below

1
mohamad subhi bouchi On

You need to submit the Item Value when you change it, you can use Javascript or PLSQL Dynamic action to submit