简体   繁体   中英

Select list with javascript in the apex oracle

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?

在此处输入图像描述

在此处输入图像描述 当 Initialization 设置为“no”时,返回值处于活动状态。但不调用动态javascript动作 当 Initialization 设置为“yes”时,返回值无效。但可以调用动态 javascript 动作

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM