Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to send values from a List Manager to PL/SQL

MoisésFeb 18 2021 — edited Feb 18 2021

I have a List Manager with static values, I can add and delete items, but I need to send this values with Javascript Promises to PL/SQL and read this values. I have this for send the array but I need how to receive the array in PL/SQL and with a cycle for read each value. Thanks for help.

var giro = document.getElementById("P28_NEW").value;
var selectedIds = [];
$('select#P28_NEW').find('option').each(function() {
//Make array with values
selectedIds.push($(this).val());
});
insert();
function insert(){
apex.server.process(
"AJAX_SEND_ARRAY",{
x01: JSON.stringify(selectedIds)
},{
dataType:"text",
loadingIndicator:"#P28_NEW",
success:function(pData){

        }  
    }  
);  

}

Comments

Post Details

Added on Feb 18 2021
0 comments
209 views